In version 3.1 the below code worked fine.
Code: Select all
<p:progressBar widgetVar="pb" style="width:200px" value="#{examDeliveryAction.progress}"/>
But in 3.2 final release, we need to explicitly start the progress bar (similar to show case example of ajax usage). Only then the progress is shown in the progressBar.
Code: Select all
<p:progressBar widgetVar="pb" ajax="true" style="width:200px" value="#{examDeliveryAction.progress}"/>
and in JavaScript
$(document).ready(function() {
pb.setValue(#examDeliveryAction.progress});
});
I understand in v3.2 progressBar is rewritten as a native widget but it should mimic 3.1 behaviour without any explicit call to start it.
PrimeFaces 3.4, Seam Faces 3.0.2.Final, Glassfish v3.1, Mojarra 2.1.10, NetBeans 7.2, Hibernate JPA 2.0, Seam Persistence 3.0.0.Final Theme default HOT-SNEAKS