ICEfaces-EE
  1. ICEfaces-EE
  2. IPCK-184

Re-Factor AsyncProgress Component

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: EE-2.0.0.Beta1
    • Fix Version/s: None
    • Component/s: Facelet Components
    • Labels:
      None
    • Environment:
      N/A

      Description

      This component can be re-factored to take advantage of ICEfaces 2 / ICEpush PushRenderer.

        Issue Links

          Activity

          Hide
          Brad Kroeger added a comment -

          Attempted to replace the SessionRenderer with the PushRenderer and ran in to the following exception:

          Exception in thread "pool-1-thread-1" java.lang.RuntimeException: FacesContext is not present for thread Thread[pool-1-thread-1,5,main]
          at org.icefaces.application.PushRenderer.missingFacesContext(PushRenderer.java:182)
          at org.icefaces.application.PushRenderer.render(PushRenderer.java:131)
          at com.icesoft.faces.facelets.component.progress.ProgressAsyncBean.afterExecute(ProgressAsyncBean.java:79)
          at com.icesoft.faces.facelets.component.progress.AfterExecuteThreadPoolExecutor.afterExecute(AfterExecuteThreadPoolExecutor.java:39)
          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:888)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
          at java.lang.Thread.run(Thread.java:619)

          Show
          Brad Kroeger added a comment - Attempted to replace the SessionRenderer with the PushRenderer and ran in to the following exception: Exception in thread "pool-1-thread-1" java.lang.RuntimeException: FacesContext is not present for thread Thread [pool-1-thread-1,5,main] at org.icefaces.application.PushRenderer.missingFacesContext(PushRenderer.java:182) at org.icefaces.application.PushRenderer.render(PushRenderer.java:131) at com.icesoft.faces.facelets.component.progress.ProgressAsyncBean.afterExecute(ProgressAsyncBean.java:79) at com.icesoft.faces.facelets.component.progress.AfterExecuteThreadPoolExecutor.afterExecute(AfterExecuteThreadPoolExecutor.java:39) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:888) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)

            People

            • Assignee:
              Brad Kroeger
              Reporter:
              Brad Kroeger
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: