-
Feature Request
-
Resolution: Obsolete
-
Major
-
None
-
8.0.0.CR1
-
None
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.
- is related to
-
WFLY-2450 JSF managed classes do not support CDI interception
- Open
- is blocked by
-
JAVASERVERFACES_SPEC_PUBLIC-1316 Loading...