[
https://issues.apache.org/jira/browse/MYFACES-3797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13789141#comment-13789141
]
Dora Rajappan commented on MYFACES-3797:
----------------------------------------
@Gerard code not affect the state handling unlike the part of inputFile which
required wrapper, but makes validator/convertor specific code in delta state
helper.(rest of artifacts at least ie ELResolver, PartialViewContext not go via
Delta state helper). To avoid specific code in delta state helper, its a good
idea to use a wrapper in the least or an adapter at the best for supporting
custom implementations , which was not a requirement for part in the case of
input file.
Its a good idea to enable disable injection for Validator/Convertor. But for
rest of artifacts the spec says if they are just mentioned in the config file
they are injectable.
> 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
>
>
> 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)