2 Replies Latest reply on Apr 23, 2008 3:31 PM by lucianofen

    conditional begin conversation

    lucianofen

      Hi,


      suppose I've declared a natural conversation in pages.xml
      and  I've associated a page to this conversation (using the page tag attribute conversation in pages.xml).
      I would to begin this conversation at the first access to this page, but not after the second access.


      In other words I' would begin the conversation at the first access and join it at the second.


      There is a way to do it?


      I've seen that the begin-conversation (child of page tag) has an attribute 'if', but I've not found documentation about it



      thanks in advance
      Luciano


        • 1. Re: conditional begin conversation

          You can join a conversation by using:


          <begin-conversation join="true" />



          With that said, Seam must know about the conversation to join it.  This means that you must ensure that the same natural conversation ID is provided on each request to the page in order to join the conversation.


          Hope that helps.

          • 2. Re: conditional begin conversation
            lucianofen

            yes, but in this way  if I've accessed another conversation with another id before, I will join it. I've discovered it with the SEAM debug page


            I would to obtain concurrent conversations


            How can I do?