On Wed, 2008-02-06 at 00:54 +0100, Wolfgang Wagner wrote:
> 
> In my application context i have defined multiple beans with
> scope="conversation.manual"
> When calling Conversation.getCurrentInstance().invalidate() in an action
> method of one of these beans only that bean gets destroyed.
> 
> It seems as if there is one conversation object for each of my conversation
> scoped beans.
> I have expected that newly created beans that are are under conversation
> scope join automatically an already running conversation, and get destroyed
> whenever the conversation gets destroyed.
> 
> 
> Is there a way to have multiple objects in one conversation ??

Yep. Each conversation has a *name*. If you do not specify a name for a
conversation, then conversationName=beanName.

If two beans are assigned to a conversation with the same name, then
invalidating that conversation invalidates both beans.

Regards, Simon

Reply via email to