[
https://issues.apache.org/jira/browse/MYFACES-3797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13788406#comment-13788406
]
Gerhard Petracek commented on MYFACES-3797:
-------------------------------------------
again: the basic algorithm in DeltaStateHelper wasn't changed!
we still store the class as we did before. only during the restore the optional
lookup is done.
if you compare the state before and after the patch, there is no difference in
what is stored.
with a wrapper, we would add state.
if we change the state-handling that only the real class gets stored (instead
of the special wrapper) and during the restore the special wrapper gets
recreated (with the real class as parameter), we have the logic in two places
(instead of one). with that we wouldn't add state, but we still break existing
3rd party libs. the only benefit would be that we support custom state-handling
implementations (which isn't mandatory). that means we would improve support
for very few libs and break the integration with others (and/or applications).
> 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.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)