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>