[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-3484) Nested in Nested Conversation: Conversation vacuum?

Francisco Jose Peredo Noguez (JIRA) jira-events at lists.jboss.org
Wed Oct 1 08:22:34 EDT 2008


Nested in Nested Conversation: Conversation vacuum?
---------------------------------------------------

                 Key: JBSEAM-3484
                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3484
             Project: Seam
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.0.2.SP1
         Environment: Jdk 1.6u6, Tomcat 6.0.18
            Reporter: Francisco Jose Peredo Noguez


If I:

   1. Begin long-running conversation
   2. Begin first nested conversation
   3. Begin second nested conversation
   4. End second nested conversation
   5. Try to begin third nested conversation:

    Exception: beginNested() called with no long-running conversation

Suggested Workaround:

     <begin-conversation nested="true" if="#{conversation.longRunning}"/>

The problem, I think, was caused because I end the first nested conversation with <s:button propagation="end"/> but that redirects me to page that has <begin-conversation nested="true"/> on its page.xml, and without the <begin-conversation nested="true" if="#{conversation.longRunning}"/> it tries to start another nested conversation immediately (and I do not want to do that, I want to fall back to the first nested conversation, and then, if and only if a particular button is clicked create the third nested conversation).

This workaround works, but it looks somewhat anti-intuitive (IMHO the <begin-conversation nested="true" if="#{conversation.longRunning}"/> should be implicit... don't you agree?) 


-- 
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