1 Reply Latest reply on Apr 16, 2008 7:50 PM by andygibson.contact.andygibson.net

    Nested conversation bean is not destroyed after ending the nested conversation

    gus888

      Hi there,


      I use a nested conversation within a base conversation, however, I found that the nested conversation bean was not destroyed after ending the nested conversation. When I clicked @End, a nested conversation was ended. However, when I @Begin a nested conversation again, the nested conversation bean still held the previous data until the base conversation was ended. Anybody can give an explanation? Thanks a lot.

      <page view-id="/page1.xhtml">
           <navigation>
                <rule if-outcome="editItem">
                     <begin-conversation nested="true"/>
                     <redirect view-id="/page2.xhtml"/>
                </rule>
           </navigation>
      </page>
      <page view-id="/page2.xhtml" conversation-required="true">          
           <navigation>
                <rule if-outcome="done">
                     <end-conversation before-redirect="true"/>
                     <redirect view-id="/page1.xhtml"/>
                </rule>
           </navigation>
      </page>