[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-300) Propagate variable to parent conversation
Pete Muir (JIRA)
jira-events at lists.jboss.org
Fri Jan 25 13:27:31 EST 2008
[ http://jira.jboss.com/jira/browse/JBSEAM-300?page=all ]
Pete Muir closed JBSEAM-300.
----------------------------
Resolution: Duplicate Issue
> Propagate variable to parent conversation
> -----------------------------------------
>
> Key: JBSEAM-300
> URL: http://jira.jboss.com/jira/browse/JBSEAM-300
> Project: JBoss Seam
> Issue Type: Feature Request
> Components: Core
> Reporter: Raul Piaggio
>
> It is often desirable to output a value from a nested conversation to its parent.
> One possible way is to add a property to the @Out annotation (i.e.: @Out(scope=CONVERSATION, level=PARENT)). If there's no outer conversation it can propagate to SESSION.
> Alternatively, it can be explicited by the inner conversation via the @Begin or @End annotations. (i.e.: @Begin(nested=true, outputs="parameter1,parameter2"). The variables "parameter1" and "parameter2" would be promoted to the outer conversation when the inner one ends. I think @Begin is better since a conversation may end via a pageflow <end-conversation/>. Also, this is similar of how we usually declare methods in any language (output explicit in signature).
--
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