0 Replies Latest reply on Jun 10, 2009 8:40 PM by wangliyu

    end-conversation before-redirect="true" doesn't work with <render view-id> tag?

    wangliyu
      Hi,
      this is follow up my previous post: http://www.seamframework.org/Community/HowToEndAndBeginANewConversationWithOneSignleSlink

      I followed Pete's instruction, use before-redirect="true" in the pages.xml and I have a4j:include in the page, a4j:include doesn't support redirect(it will refresh the whole page not partal), I was suggested to use "render", so I tried the following part:

           <page view-id="/list.xhtml" login-required="true">
                <navigation>
                     <rule if-outcome="next">
                          <render view-id="/details.xhtml"></render>
                     </rule>
                     <rule if-outcome="exit">
                          <end-conversation before-redirect="true" root="true" />
                          <render view-id="/search.xhtml" />
                     </rule>
                </navigation>
           </page>

      and seems the end-conversation didn't triggered.

      is this a bug of seam?

      or should add <end-conversation before-render="true"> ?