[
https://issues.apache.org/jira/browse/MYFACES-2621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12848899#action_12848899
]
Leonardo Uribe commented on MYFACES-2621:
-----------------------------------------
Use reflection has a performance hit. If we use duplicate wrappers, the only
problem is the synchronized methods used for check if EL is available, but
since this code is called many times, use those methods are not a good idea. We
have to check which solution has better performance.
Other idea we could use is make TagValueExpression implements FacesWrapper, so
we can get the inner ValueExpression and call it directly.
If there exists other ValueExpression wrappers that need to be handled, we need
a list of the ones required to change in myfaces.
The signature of ValueExpression.getValueReference is this:
ValueReference getValueReference(ELContext context)
My question is: Does really match the method with the proposed signature?
Object getValueReference(ELContext context)
If so, maybe use reflection is the way to go, but we have to try.
> BeanValidation does not work with Unified EL 2.2
> ------------------------------------------------
>
> Key: MYFACES-2621
> URL: https://issues.apache.org/jira/browse/MYFACES-2621
> Project: MyFaces Core
> Issue Type: Bug
> Components: JSR-314
> Affects Versions: 2.0.0-beta-3
> Environment: bean validation 1.0.0.GA, unified el 2.2
> Reporter: Jakob Korherr
> Assignee: Jakob Korherr
>
> When using the new Unified EL 2.2, BeanValidation does not work, because
> _BeanValidatorUELUtils.getUELValueReferenceWrapper() always returns null.
> See also the related thread on the mailing list:
> http://www.mail-archive.com/[email protected]/msg55250.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.