Details
Description
noted several places in the forum:
http://www.icefaces.org/JForum/posts/list/3190.page
http://www.icefaces.org/JForum/posts/list/3292.page
It seems that using AJAX push in Seam causes the following stack exception:
15:37:20,197 ERROR [PhaseListenerManager] Exception in PhaseListener
RENDER_RESPONSE(6) beforePhase.
java.lang.IllegalStateException: No page context active
at org.jboss.seam.core.FacesPage.instance(FacesPage.java:87)
at
org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:219)
at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:51)
at
org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersBefore(PhaseListenerManager.java:70)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:373)
at
com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.render(PersistentFacesState.java:180)
...
http://www.icefaces.org/JForum/posts/list/3190.page
http://www.icefaces.org/JForum/posts/list/3292.page
It seems that using AJAX push in Seam causes the following stack exception:
15:37:20,197 ERROR [PhaseListenerManager] Exception in PhaseListener
RENDER_RESPONSE(6) beforePhase.
java.lang.IllegalStateException: No page context active
at org.jboss.seam.core.FacesPage.instance(FacesPage.java:87)
at
org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:219)
at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:51)
at
org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersBefore(PhaseListenerManager.java:70)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:373)
at
com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.render(PersistentFacesState.java:180)
...
Issue Links
- blocks
-
ICE-1810 Support Integration with JBoss Seam
- Closed
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Applications can use execute() followed by render() to perform Ajax Push in Seam. Note that this does not
resolve all uses of Ajax Push with Seam; for instance, the
FileUpload component cannot yet deliver events to a Seam
bean, however, this is not itself an Ajax Push issue.