ICEfaces
  1. ICEfaces
  2. ICE-6281

ice:outputProgress not updating when used with PushRenderer

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.0-Beta2
    • Fix Version/s: 2.0.0
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      -

      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.

        Activity

          People

          • Assignee:
            Deryk Sinotte
            Reporter:
            Tyler Johnson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: