Hi, I have an import feature that I want to display progress while its running.
the import feature is located in a Mdi Child the progress bar is located in a rad Status Strip on the Parent form here is the code I have and yet the Progress bar doesn't move untill after the loop is done.
a4j:push maybe quite good alternative to rich:progress Bar since it use much less traffic and doesn’t update JSF tree (so it’s potentially a better alternative).
I think you can easily adapt described approach to use a4j:push – you just need to add few pieces (add Listener method and send events to the listener during the process) Java Code: it use a method conversation Bean.update Rate to determine the update rate.
This value is then polled from the browser using the specified interval.
Request Verifier.service(Request Verifier.java:28) at com.icesoft.faces.common.standard. Path Dispatcher Server.service(Path Dispatcher Server.java:24) at com.icesoft.faces.servlet.
Main Session Bound Servlet.service(Main Session Bound Servlet.java:160) at com.icesoft.faces.servlet.
I’s optional and could be just hardcoded to some value like “1000” (1 second).
The rich:progress Bar displays a standard progress widget, and allows for additional facets such as initial, and finish state customizations.
Receive Send Updates.render Cycle(Receive Send Updates.java:114) at com.icesoft.faces.core.