[
https://issues.apache.org/jira/browse/MYFACES-2509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13288820#comment-13288820
]
dennis hoersch commented on MYFACES-2509:
-----------------------------------------
My use case is: I have system event listeners to
- manipulate component tree before rendering
- apply some default values to components
that I want to plug in and not to overwrite some MyFaces (base) classes /
components.
By now I have list them all in the faces-config.xml but it would be nice if
they are automatically detected.
> @ListenerFor not processed for global system events
> ---------------------------------------------------
>
> Key: MYFACES-2509
> URL: https://issues.apache.org/jira/browse/MYFACES-2509
> Project: MyFaces Core
> Issue Type: New Feature
> Components: JSR-314
> Affects Versions: 2.0.0-alpha
> Reporter: Jan-Kees van Andel
> Assignee: Jan-Kees van Andel
> Attachments: ListenerFor_support.patch, MYFACES-2509-1.patch
>
>
> We currently don't process @ListenerFor and @ListenerFor annotations on
> non-component types.
> This is specified in the spec for global system events, see:
> http://java.sun.com/javaee/javaserverfaces/2.0/docs/api/index.html?javax/faces/event/ListenerFor.html
> It would be nice to have it in the beta.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira