[seam-issues] [JBoss JIRA] Commented: (JBSEAM-4436) No Conversation Context Error
Markos Fragkakis (JIRA)
jira-events at lists.jboss.org
Wed Apr 14 05:44:25 EDT 2010
[ https://jira.jboss.org/jira/browse/JBSEAM-4436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12525594#action_12525594 ]
Markos Fragkakis commented on JBSEAM-4436:
------------------------------------------
Any feedback on this? I have a _VERY_ similar issue on WeLogic 10.3.2 (11g).
> No Conversation Context Error
> -----------------------------
>
> Key: JBSEAM-4436
> URL: https://jira.jboss.org/jira/browse/JBSEAM-4436
> Project: Seam
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.2.0.GA
> Environment: WebSphere 7.0.5
> Reporter: mike jones
>
> Hello,
> I have 3 simple pages with back and next buttons.
> Here is the button in the atbc_search page
> <s:button id="next" alt="Next button" value="#{messages['button.next']}" action="#{atSearchSFSB.next}" </s:button> value="#{messages['button.next']}" action="#{atbcSearchSFSB.find}" </s:button>
> <s:button id="previous" alt="Previous button" value="#{messages['button.previous']}" action="#{atSearchSFSB.previous}" </s:button> value="#{messages['button.next']}" action="#{atbcSearchSFSB.previous}" </s:button>
> When I navigate back and forth it works for a while then all of the sudden I get
> 10/7/09 9:41:13:616 EDT] 0000002b viewhandler E Error Rendering View[/view/atbc_change.xhtml]
> java.lang.IllegalStateException: No active conversation context
> at org.jboss.seam.core.Conversation.instance(Conversation.java:122)
> at org.jboss.seam.ui.component.UIConversationId.getName(UIConversationId.java:44)
> at org.jboss.seam.ui.util.ViewUrlBuilder.addParameter(ViewUrlBuilder.java:42)
> at org.jboss.seam.ui.component.UISeamCommandBase.getUrl(UISeamCommandBase.java:85)
> at org.jboss.seam.ui.renderkit.ButtonRendererBase.getOnClick(ButtonRendererBase.java:37)
> at org.jboss.seam.ui.renderkit.ButtonRendererBase.doEncodeBegin(ButtonRendererBase.java:66)
> at org.jboss.seam.ui.util.cdk.RendererBase.encodeBegin(RendererBase.java:79)
> at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:802)
> at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:232)
> at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:118)
> at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:826)
> at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:277)
> at org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:258)
> at org.richfaces.renderkit.html.PanelRenderer.doEncodeChildren(PanelRenderer.java:220)
> Its very consistent. It works for a while I can click the back and next buttons then I just get this error.
> I really need help with this.
> I am not getting this error when I use a regular JSF button. It only happens when I use
> a Seam button.
> Pages.xml
> <page view-id="/view/atbc_search.xhtml">
> <navigation from-action="#{atbcSearchSFSB.find}">
> <rule if-outcome="find">
> <redirect view-id="/view/atbc_change.xhtml" />
> </rule>
> </navigation>
> </page>
> <page view-id="/view/atbc_change.xhtml">
> <navigation from-action="#{atbcChangeSFSB.back}">
> <rule if-outcome="back">
> <redirect view-id="/view/atbc_search.xhtml" />
> </rule>
> <rule if-outcome="next">
> <redirect view-id="/view/home.xhtml" />
> </rule>
> </navigation>
> <navigation from-action="#{atbcChangeSFSB.next}">
> <rule if-outcome="next">
> <redirect view-id="/view/home.xhtml" />
> </rule>
> </navigation>
> </page>
> I am also using the Seam Redirect Servlet
> I am using WebSphere 7.0. Seam 2.2.0 GA
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list