[ 
https://issues.apache.org/jira/browse/MYFACES-2509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12804906#action_12804906
 ] 

Leonardo Uribe commented on MYFACES-2509:
-----------------------------------------

The javadoc says:

"....The default implementation must support attaching this annotation to 
UIComponent or Renderer classes. In both cases, the annotation processing 
described herein must commence during the implementation of any variant of 
Application.createComponent()  and must complete before the UIComponent 
instance is returned from createComponent(). The annotation processing must 
proceed according to an algorithm semantically equivalent to the following...."

We are doing that right now, but the code that scan for it is in other place 
(see ApplicationImpl class). It is not necessary to apply this patch (or at 
least I cannot see a valid use case based on the javadocs). It could be good to 
know if there are other valid cases different to the described ones in the 
javadoc.


> @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
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to