[jboss-jira] [JBoss JIRA] (WFLY-2611) Unify JSF action listener and CDI integration

Farah Juma (JIRA) issues at jboss.org
Thu Oct 23 11:56:35 EDT 2014


    [ https://issues.jboss.org/browse/WFLY-2611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13014657#comment-13014657 ] 

Farah Juma commented on WFLY-2611:
----------------------------------

Note that [JAVASERVERFACES-3142|https://java.net/jira/browse/JAVASERVERFACES-3142] was closed as "Won't Fix" and this issue now depends on a spec issue instead: [JAVASERVERFACES_SPEC_PUBLIC-1287 | https://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1287]

> Unify JSF action listener and CDI integration
> ---------------------------------------------
>
>                 Key: WFLY-2611
>                 URL: https://issues.jboss.org/browse/WFLY-2611
>             Project: WildFly
>          Issue Type: Feature Request
>          Components: CDI / Weld, JSF
>    Affects Versions: 8.0.0.CR1
>            Reporter: Tomas Remes
>            Assignee: Farah Juma
>
> There are three ways, how can user specify custom JSF action listener:
> 1. Method binding - with actionListener param. This case is ok, meaning CDI injection and interceptor works for given method/bean.
> 2. Providing custom implementation - <f:actionListener type="org.jboss.jsf.listeners.MyActionListener"/>. In this case CDI doesn't work at all for processAction method of given class. 
> 3. Defining in faces-config - in this case CDI injection works, but interceptor is not executed. 
> Reproducer available at https://github.com/tremes/javaee7-samples/tree/cdi-testing/jsf/actionlistener-injection. Test can be executed with "mvn clean test -Pwildfly-managed-arquillian" or "mvn clean test -Pwildfly-remote-arquillian" and IMHO all should pass.
>  



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jboss-jira mailing list