[ https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13788073#comment-13788073 ]
Dora Rajappan commented on MYFACES-3786: ---------------------------------------- MYFACES-3797 patch is good for Validator. Though Convertor and Validator is excluded from spec 2.2 this solution should work for rest of the artifacts which can go in spec 2.2.In the class ExternalArtifactResolver from patch 3797 add methods for artifacts similar to resolveManagedValidator(ExternalContext, Class<? extends Validator>) use them in respective Impls , (ie for PartialViewContextFactory artifact call the resolve method from FacesContextImpl). > 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 > Attachments: cdiELresolverWeb.zip, cdiELResolver.zip, > cdiPartialViewContext.war, cdiPartialViewContext.zip, cdiValidatorSource.zip, > cdiValidator.war > > > 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)