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.
Activity
Tyler Johnson
created issue -
Tyler Johnson
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [5007000000ESh7I] |
Tyler Johnson
made changes -
Attachment | outputProgress.war [ 12689 ] |
Ken Fyten
made changes -
Fix Version/s | 2.0.0 [ 10230 ] | |
Assignee Priority | P2 | |
Assignee | Deryk Sinotte [ deryk.sinotte ] |
Ken Fyten
made changes -
Assignee Priority | P2 | P1 |
Deryk Sinotte
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Won't Fix [ 2 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P1 |
This might be a general push-in-single-method problem since I can reproduce it with a outputText in the same manner.