0 Replies Latest reply on Aug 26, 2009 6:10 AM by Gus Gu

    end-conversation root="true" fails to work

    Gus Gu Expert
      Hi there,

      I have the following codes. I repeated click "createStuff" to navigate to edit page, then click "Back" button to go back "stuff list" page. Theoretically, every time when I click "createStuff" to begin a new conversation, then click "Back",  the conversation should be ended. However, from my console, I found all created conversations were not ended. Consumed memory size became bigger and bigger. I am not sure whether it is a bug or my codes have some problem. It seems <end-conversation root="true"/> didn't work. Thanks any help in advance. (Seam 2.2.0)
      <!-- stuff list -->
      <page xmlns="http://jboss.com/products/seam/pages"
            xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.2.xsd"
              <end-conversation root="true"/>

                      <rule if-outcome="createStuff">
                              <begin-conversation join="true" flush-mode="manual"/>
                              <redirect view-id="/editStuff.xhtml"/>