[
https://issues.apache.org/jira/browse/MYFACESTEST-51?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13040284#comment-13040284
]
Matt Benson edited comment on MYFACESTEST-51 at 5/27/11 3:22 PM:
-----------------------------------------------------------------
>From the EL spec:
The ELResolver in the ELContext is used to resolve the top-level variables
and to determine the behavior of the . and [] operators.
was (Author: mbenson):
From the EL spec:
{quote}
The ELResolver in the ELContext is used to resolve the top-level variables and
to determine the behavior of the . and [] operators.
{quote}
> MockValueExpression should use the ELResolver provided by the ELContext
> instance passed to its methods
> ------------------------------------------------------------------------------------------------------
>
> Key: MYFACESTEST-51
> URL: https://issues.apache.org/jira/browse/MYFACESTEST-51
> Project: MyFaces Test
> Issue Type: Bug
> Components: Mock Objects
> Reporter: Matt Benson
> Attachments: MYFACESTEST-51.patch.txt
>
>
> For code that uses custom ELContext instances (e.g. myfaces-extval) the
> MockValueExpression behaves wrongly by directly fetching the ELResolver from
> the active FacesContext; this can be deferred to MockELContext for "normal"
> situations, and still function correctly for extraordinary situations such as
> described.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira