Rich progressbar not updating Cam 4 free xxx

13-Mar-2018 02:13

Sending emails but want to let the user choose the frequency ?

rich progressbar not updating-63

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).In short – it is all you need to show very informative long-running process progress.Richfaces has few other ways to build your own progress Bean – it is a4j:poll and a4j:push components.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.I’s optional and could be just hardcoded to some value like “1000” (1 second).

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).In short – it is all you need to show very informative long-running process progress.Richfaces has few other ways to build your own progress Bean – it is a4j:poll and a4j:push components.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.I’s optional and could be just hardcoded to some value like “1000” (1 second).Showing a4j:status (which could be blocking – see “avoid concurrent call to conversation“) – is a bit better and will work for relatively short tasks (like 5 – 15 seconds, matter of taste actually) but still not good solution for really long tasks (something more than 1 minute) For really long tasks I recommend to show the progress indicator (it’s also known usability fact that user will think that task with dynamic progress-bar is faster than the same task but without progress-bar) There is a quite good component to do it with Richfaces – it’s progress Bar component, the only problem to do it with Seam is that you should initiate progress (by calling the action) and that action should immediately return and start some background process.