-
1. Re: start and kill a conversation
norman.richards Jan 5, 2007 6:38 PM (in response to koatto)I have no idea why the commandLink doesn't work. Perhaps it is because of something happening in the persist method?
@Begin and @End do not really begin and end conversations themselves - they mark the current conversation as being long running or not long running, and Seam makes use of this information at the end of the request. Does that make the behavior you are observing more understandable? -
2. Re: start and kill a conversation
koatto Jan 5, 2007 11:11 PM (in response to koatto)Thanks, it clarifies a lot.
So the only way to implement what i need is to explicitly create a new onversation within the method body, is it correct?
does the following link code begin a conversation before the select method of searchResults component is called?<s:link action="#{searchResults.select}" view="/details.seam" propagation="begin"/>
Bye. -
3. Re: start and kill a conversation
norman.richards Jan 6, 2007 12:08 AM (in response to koatto)A conversation is ALWAYS begun, no matter what you do. The only thing that @Begin does is mark it as a long running conversation, one that Seam will keep around between requests.
To accomplish what you are after, you need to end the conversation and either redirect to a new page that starts a new conversation or else just begin a new conversation on the next click.