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

Leonardo Uribe commented on MYFACES-3797:
-----------------------------------------

I'm starting to think that a solution without use a wrapper is possible, the 
problem there is conceptual: who handles converter/validator instantiation? CDI 
or JSF? if is JSF the wrapper should not be needed if things are correctly done 
(the hack over the state is not required, because only if a converter is marked 
as serializable or stateholder/partialstateholder, it will be saved/restored), 
but if is CDI, the wrapper is required to do the gap over state handling. 

> cdi support for converters and validators
> -----------------------------------------
>
>                 Key: MYFACES-3797
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3797
>             Project: MyFaces Core
>          Issue Type: New Feature
>          Components: JSR-344
>            Reporter: Gerhard Petracek
>            Assignee: Gerhard Petracek
>         Attachments: MYFACES-3797_2.patch, MYFACES-3797.patch, 
> MYFACES-3797_with_external_bean_aware_wrapper.patch
>
>
> with
>     <context-param>
>         
> <param-name>org.apache.myfaces.CONVERTER_INJECTION_ENABLED</param-name>
>         <param-value>true</param-value>
>     </context-param>
> and
>     <context-param>
>         
> <param-name>org.apache.myfaces.VALIDATOR_INJECTION_ENABLED</param-name>
>         <param-value>true</param-value>
>     </context-param>
> it should be possible to enable cdi support for converters/validators.
> we need the config, because it was postponed for the spec.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to