[ https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13781787#comment-13781787 ]
Dora Rajappan commented on MYFACES-3786: ---------------------------------------- 1. Specify the artifacts apart from managed beans in faces config like below and write application and verify these are injectable. +<faces-config xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd" + version="1.2"> + <application> + <action-listener>action-listener1</action-listener> + <action-listener>action-listener2</action-listener> + <default-render-kit-id>default-render-kit-id</default-render-kit-id> + <locale-config> + <default-locale>aa</default-locale> + <supported-locale>aa</supported-locale> + <supported-locale>bb</supported-locale> + </locale-config> + <message-bundle>message-bundle</message-bundle> + <navigation-handler>navigation-handler</navigation-handler> + <property-resolver>property-resolver</property-resolver> + <state-manager>state-manager</state-manager> + <variable-resolver>variable-resolver</variable-resolver> + <view-handler>view-handler</view-handler> + + <!-- 1.2 specific --> + <el-resolver>el-resolver</el-resolver> + <resource-bundle> + <base-name>base-name</base-name> + <var>var</var> + </resource-bundle> + </application> + <validator> + <validator-id>xyValidtor</validator-id> + <validator-class>org.apache.myfaces.config.impl.digester.XyValidator</validator-class> + </validator> +</faces-config> > Web Container injection support should be provided for additional lifecycle > artifacts (not just managed beans) > -------------------------------------------------------------------------------------------------------------- > > Key: MYFACES-3786 > URL: https://issues.apache.org/jira/browse/MYFACES-3786 > Project: MyFaces Core > Issue Type: Task > Components: JSR-344 > Reporter: Leonardo Uribe > Assignee: Leonardo Uribe > > This issue is all about how to inject beans into jsf artifacts. > See JSF 2.2 section 5.4.1 > The problem here is in some point we need to give the control to the > underlying environment to inject beans into the artifacts, but we don't know > much about how to properly do it, so we need to try with examples. -- This message was sent by Atlassian JIRA (v6.1#6144)