[seam-issues] [JBoss JIRA] Commented: (SEAMFACES-3) Complementing annotations for adding anything that can be put in faces-config.xml

Lincoln Baxter III (JIRA) jira-events at lists.jboss.org
Thu Jun 3 16:55:56 EDT 2010


    [ https://jira.jboss.org/browse/SEAMFACES-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12533824#action_12533824 ] 

Lincoln Baxter III commented on SEAMFACES-3:
--------------------------------------------

I think the best (safest) way to do this would be to use the existing DelegatingPhaseListener, it's not possible (afaik) to add PhaseListeners via the LifeCycle object in a portable way without doing so in the XML.

> Complementing annotations for adding anything that can be put in faces-config.xml
> ---------------------------------------------------------------------------------
>
>                 Key: SEAMFACES-3
>                 URL: https://jira.jboss.org/browse/SEAMFACES-3
>             Project: Seam Faces
>          Issue Type: Feature Request
>          Components: CDI Integration
>    Affects Versions: 3.0.0.Alpha4
>            Reporter: Nicklas Karlsson
>            Assignee: Lincoln Baxter III
>
> We should have annotations for everything that can be defined in faces-config.xml
> Take for example @PhaseListener, we should have an extension that processes all these annotations and calls LifeCycle.addPhaseListener. It might even be possible to have CDI injection into the phase listener through this method. 
> JSF should have booted by the time CDI processes the extensions, but if not, the job could always be postponed until we see the JSF application constructed event.

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

        


More information about the seam-issues mailing list