[seam-issues] [JBoss JIRA] Closed: (JBSEAM-1352) Allow @Startup to be used on conversation scoped components

Pete Muir (JIRA) jira-events at lists.jboss.org
Fri Jan 22 10:21:20 EST 2010


     [ https://jira.jboss.org/jira/browse/JBSEAM-1352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir closed JBSEAM-1352.
-----------------------------

    Fix Version/s:     (was: The future)
       Resolution: Out of Date
         Assignee: Pete Muir


Superseded by CDI

> Allow @Startup to be used on conversation scoped components
> -----------------------------------------------------------
>
>                 Key: JBSEAM-1352
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-1352
>             Project: Seam
>          Issue Type: Feature Request
>          Components: Core
>    Affects Versions: 1.2.1.GA
>         Environment: Any
>            Reporter: Mike Quilleash
>            Assignee: Pete Muir
>         Attachments: conversationstartup.patch
>
>
> @Startup on a conversation component would instantiate and call @Create the component whenever a conversation context is created (not when nested conversations start tho as the root conversation will already have created it).  Not sure if this should be done when a conversation context is created or when a long running conversation is begun.
> Use case is wanting to pass information from a nested conversation to it's parent, at the moment the parent has to explicitly instantiate any components it wishes to share with the child.  If the child creates it they get attached to the child conversation id and destroyed when the child ends.
> e.g. I want to pass FacesMessages (or some equivalent) from a edit screen to it's parent search screen when the edit is completed.  "Entity created/updated".
> A current workaround I think is to use the event stuff to have an @Observer in the relevant components to create themselves.

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

        


More information about the seam-issues mailing list