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

    end-conversation root="true" fails to work

    gus888
      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"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.2.xsd"
            login-required="true">
             
              <end-conversation root="true"/>

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