Help

Controls

PermLinkWikiLink

Built with Seam

You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.

Forum: Seam Users Forum ListTopic List
23. Apr 2008, 12:20 CET | Link

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

2 Replies:
23. Apr 2008, 12:44 CET | Link

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.

 

--------------------------------------------------

Check my blog to find announcements on Seam Framework: Experience the Evolution of Java EE

23. Apr 2008, 15:31 CET | Link

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?