Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Won't Fix
-
Affects Version/s: 2.0-Beta2
-
Fix Version/s: 2.0.0
-
Component/s: ICE-Components
-
Labels:None
-
Environment:-
-
ICEsoft Forum Reference:
Description
The ice:outputProgress bar is not being updated when used with the PushRenderer in JSF 2.0 trunk (as of Nov 13). 2.0 trunk is being used to overcome the regression mentioned in http://www.icefaces.org/JForum/posts/list/17898.page. As the forum post mentions, this could be the result of an incorrect implementation but it appears as though it should work.
<ice:outputProgress value="#{progressBean.progress}" />
<ice:commandButton value="start" action="#{progressBean.go}" />
public void go() throws InterruptedException {
PushRenderer.addCurrentSession("x");
progress = 1;
PushRenderer.render("x");
System.out.println("started");
Thread.sleep(5000);
System.out.println("done");
progress = 0;
}
Test case intended for deployment on Tomcat6 attached.
<ice:outputProgress value="#{progressBean.progress}" />
<ice:commandButton value="start" action="#{progressBean.go}" />
public void go() throws InterruptedException {
PushRenderer.addCurrentSession("x");
progress = 1;
PushRenderer.render("x");
System.out.println("started");
Thread.sleep(5000);
System.out.println("done");
progress = 0;
}
Test case intended for deployment on Tomcat6 attached.
This might be a general push-in-single-method problem since I can reproduce it with a outputText in the same manner.