Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4240976
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T03:14:25+00:00 2026-05-21T03:14:25+00:00

We are using Richfaces 3.3.3.Final. Our problem is about navigation problem on a4j:commandButton .

  • 0

We are using Richfaces 3.3.3.Final. Our problem is about navigation problem on a4j:commandButton. I know that navigation is not working properly if we use a4j:commandButton (please visit : http://community.jboss.org/wiki/CommonAjaxRequestsProblems#navigation).

Ok I understand that I have to use h:commandButton in order to navigation works properly. But now I need an indicator component which will work with h:commandButton. <a4j:status> doesn’t work with h:commandButton.

Any suggestions?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T03:14:26+00:00Added an answer on May 21, 2026 at 3:14 am

    <h:commandButton does not work with a4j:status because it does not fire any ajax request – it fires a regular request. And it does not make sense to navigate the browser with ajax.

    It appears you want to show work-in-progress when navigating. This is not possible in http in general – you either request a new page and wait for it to come, or make an ajax request.

    But you can do another thing – use <a4j:commandButton oncomplete="redirectBrowser();">, where redirectBrowser() is a javascript function that changes the current url: window.href.location=/desired/target.jsf'. It will be triggered when the ajax response comes back. In addition, you can disable the button onclick, so that the user does not click it twice.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are using Richfaces 4.1.0, and I am trying to use an extendedDataTable. I
I'm out of ideas for my exception handling... Using: <myfaces.version>2.0.11</myfaces.version> <richfaces.version>4.1.0.Final</richfaces.version> <tomahawk.version>1.1.11</tomahawk.version> <weld.version>1.1.4.Final</weld.version> <codi.version>1.0.3</codi.version>
I am working using richfaces 3.3.3 , tomcat 6. when i try to access
I am working on a jsp page using richfaces. My current page has multiple
We are using Richfaces in one of our projects. I need to focus the
I'm implementing file uploading using Richfaces version 4.0. I've noticed, that there is quite
I am using JSF2.0 with Richfaces 4.0.0.Final for a web application. I have a
I am using richfaces 4.0 final. I have a page where I am including
I'm using Richfaces 3, Facelets (a pre-JSF 2 version), and Tomcat. I am working
I'm working with JSF2.1 and RichFaces 4.1 in JBoss AS 6.1.0.Final. Right now, I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.