Rich progressbar not updating

13-Mar-2018 02:13

the problem with them is that they actually will be running in completely separate scope (they don’t know nothing about your conversation scope) The trick here is to pass all the required parameters to asynchronous method and use them for returning the results too (in the conversation).That way we are not crazy about memory issues, since as long the long computation process will be ended the memory will be released (the reference to the object will be only in the initiator – the conversation scoped bean) So, the solution may look like that.

Regards EDIT 2 Based on @Andy's suggestion I changed the progress bar to primefaces, but in this case I don't see any progress being displayed (not even 0).

I'm pretty new to JSF so I need someone who can help me. Some pieces of code: This is the progress bar in the view: is only invoked when loading the page (so it is always 0), not during the processing every 2 seconds.

I'm trying to implement a progress bar in a page, so I've followed this example; it's clear enough but my problem is that the value for the "value" attribute is not calculated in the bean (CLASS_A), but in an util class (CLASS_B) invoked from it. I suppose that the progress bar itself is no related to the button which should start it.

Java, JSP, and Java Server Pages are trademarks or registered trademarks of Sun Microsystems, Inc.

I am using Rich Faces 4.3.5-Final package to build a upload progress bar.

Regards EDIT 2 Based on @Andy's suggestion I changed the progress bar to primefaces, but in this case I don't see any progress being displayed (not even 0).

I'm pretty new to JSF so I need someone who can help me. Some pieces of code: This is the progress bar in the view: is only invoked when loading the page (so it is always 0), not during the processing every 2 seconds.

I'm trying to implement a progress bar in a page, so I've followed this example; it's clear enough but my problem is that the value for the "value" attribute is not calculated in the bean (CLASS_A), but in an util class (CLASS_B) invoked from it. I suppose that the progress bar itself is no related to the button which should start it.

Java, JSP, and Java Server Pages are trademarks or registered trademarks of Sun Microsystems, Inc.

I am using Rich Faces 4.3.5-Final package to build a upload progress bar.

A widget is an object that may display differently depending on the state of the progress bar.