2 Replies Latest reply on Sep 18, 2007 3:44 AM by przemjaskier

    Conversation propagation problem/error?

      I have a menu with link on which user can click at any time, even being in the middle of a long-running conversation. This link begins conversation by invoking a bean method "startConversation()" which is annotated with @Begin(nested=false, join=false, pageflow="flow.jpdl"). I want that every click on this link launch a brand new conversation, abandoning current, unfinished one. I thought that invoking this link as:

      <s:link value="Start" action="#{addSimpleItemWizardActions.startConversation()}" propagation="none"/>
      


      will do the job, but I got error message "The conversation ended, timed out or was processing another request" (and redirect to invalidconversationerror.xhtml mentioned below). Page which is a start page for this pageflow is configured to be accessed only in conversation by:


      <page view-id="/conversationStartPage.xhtml"
      no-conversation-view-id="/invalidconversationerror.xhtml"
      conversation-required="true"/>


        • 1. Re: Conversation propagation problem/error?

          One more note: this conversation starts for the first time this link is clicked. But every following invocation of this link from within page that belongs to the initially started conversation leads to the error above.

          • 2. Re: Conversation propagation problem/error?

            BTW: last Seam CVS, Tomcat 6.10, RI 1.2, RF 3.1.

            If this issue is related to the fact that propagation=none affects the conversation started from startConversation(), why does it work when I click it for the first time? Something is wrong here.

            <h:commandLink value="Add" action="#{addSimpleItemWizardActions.startConversation()}">
             <s:conversationPropagation type="none" />
             </h:commandLink>