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.