You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Gerhard Petracek (JIRA)" <de...@myfaces.apache.org> on 2013/10/07 13:39:44 UTC

[jira] [Comment Edited] (MYFACES-3786) Web Container injection support should be provided for additional lifecycle artifacts (not just managed beans)

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

Gerhard Petracek edited comment on MYFACES-3786 at 10/7/13 11:38 AM:
---------------------------------------------------------------------

@dora:
thx, but we don't need the config, we have a myfaces-archetype which generates a jsf/cdi setup for servlet-containers like tomcat.

i'm not sure what you mean. MYFACES-3797 works for converters/validators already and PartialViewContext as well as ELResolver need a different approach which is even easier, because you don't have to care about state-saving.


was (Author: gpetracek):
@dora:
thx, but we don't need the config, we have a myfaces-archetype which generates a jsf/cdi setup for servlet-containers like tomcat.

i'm not sure what you mean. MYFACES-3786 works for converters/validators already and PartialViewContext as well as ELResolver need a different approach which is even easier, because you don't have to care about state-saving.

> 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)