0 Replies Latest reply on Jun 15, 2007 8:20 AM by Fleury Ludovic

    Problem with conversation propagation

    Fleury Ludovic Newbie

      Hey,

      I can not propagate correctly the same conversation id during page flow navigation.


      Here is what I do :


      I start a page flow by calling the method "startNavigation" of a stateful bean myBean :


      @Begin(nested=true, pageflow="nav", id = "browseProcesses")
      public void startNavigation() {}


      At this stage, all is right and I see the URL :

      http://localhost:8080/seam_console/home.seam?cid=browseProcessDefinitions

      After that, I click the link :

      <s:link value="Show Processes" action="#{myBean.showProcesses}" >

      and the conversation id in the URL is :

      http://localhost:8080/seam_console/Process%20definitions.seam?cid=browseProcessDefinitions

      The cid value is OK at this stage, but if I click now the new following link on the new page :

      <s:link value="Show Process" action="#{myBean.showProcess}" >

      the conversation id change suddenly :

      http://localhost:8080/seam_console/Process%20definition.seam?cid=12

      The two methods myBean.showProcess and myBean.showProcesses return simply the name of a transition in the page flow.

      Why can I not keep the same conversation id after the second link? It works for the first link, but the conversation id change after clicking the second link... The two links have the same syntax...

      Thank you for your help.

      LF