Has anyone found a way of display a loading message while rich:dataTable loads?
I’ve found that if the load operations backing DataModel takes along time it results in the request taking along time. Is the an effective way of display a message to the user during this load?
I’m using Richfaces 3.3.3.
You can use
a4j:status. Refer to Exadel livedemo for more details: http://livedemo.exadel.com/richfaces-demo/richfaces/status.jsf?c=status&tab=usageIf you need to show messages on data table interactions only, you can limit area for
a4j:statusbya4j:region:UPDATE:
For lazy loading of some content, the following approach can be used.
Create a facelet (or component):
lazyis reference of bean (I use page scope) which stores map of what was rendered and what was not (releasemethod marks item as rendered).Then you can use that like the following: