[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-1943) Support for destroying the entire ConversationStack

Pete Muir (JIRA) jira-events at lists.jboss.org
Wed Oct 17 04:29:08 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBSEAM-1943?page=all ]

Pete Muir updated JBSEAM-1943:
------------------------------

    Fix Version/s: 2.0.2.GA

> Support for destroying the entire ConversationStack
> ---------------------------------------------------
>
>                 Key: JBSEAM-1943
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1943
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: Core
>    Affects Versions: 2.0.0.CR1
>            Reporter: Jacob Orshalick
>             Fix For: 2.0.2.GA
>
>
> There are situations where I would like to be able to destroy the entire conversation stack if a particular action occurs (say a user cancels everything during a nested conversation, an exception occurs during a nested conversation, etc). I am currently accomplishing this through the following:
> private void endRootConversation() {
> 	Conversation conversation = Conversation.instance();
> 	
> 	while(conversation.isNested()) {
> 		conversation.root();
> 	}
> 		
> 	conversation.endBeforeRedirect();
> }
> I would prefer to say something like @End(root=true) or specifying conversationPropogation="endRoot".  Similar discussions on the forum are:
> http://www.jboss.com/index.html?module=bb&op=viewtopic&t=112414&postdays=0&postorder=asc&start=10
> http://www.jboss.com/index.html?module=bb&op=viewtopic&t=118936&postdays=0&postorder=asc&start=20

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list