RichFaces AJAX request indicator with absolute positioning

RichFaces comes with a4j:status tag that allows to show AJAX request status. Here is an example how to create a page-level indicator, in other words, any action from this page will trigger the status to be displayed. It’s one way to tell the user that something is happening. Technically, the a4j:status is associated with the closest a4j:region. By default the entire page is a region (even though we don’t put it on the page).

  	all other controls...

The status will be displayed in the upper right corner of the browser:

We are only showing a status when a request is being processed. You can also show a status when the request is done (or not executing) by setting stopText attribute. Lastly, if you want to include something other than text, two facets are available to include any content you want: start and status.


  1. Joe says:

    Is this going to work at portlet too in Liferay? Would you show or give an example?

  2. max says:

    I think is should work. For portlets, it makes sense to use individual status indicators, otherwise the one indicator could be overloaded by each portlet instance.

  3. Joe says:

    Would you give an individual status indicator example here too? thanks!

  4. max says:

    Something like this:




Leave a Comment

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.