myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <...@myfaces.apache.org>
Subject [jira] Resolved: (MYFACES-2740) MethodExpression wrapping of vdl.retargetMethodExpression does not take into account #{cc} resolution
Date Fri, 28 May 2010 22:24:37 GMT

     [ https://issues.apache.org/jira/browse/MYFACES-2740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Leonardo Uribe resolved MYFACES-2740.
-------------------------------------

    Fix Version/s: 2.0.1-SNAPSHOT
       Resolution: Fixed

> MethodExpression wrapping of vdl.retargetMethodExpression does not take into account
#{cc} resolution
> -----------------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-2740
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2740
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.0.0
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>             Fix For: 2.0.1-SNAPSHOT
>
>
> On vdl.retargetMethodExpression, it is done something like this to "retarget" methodExpressions:
>                 if (CompositeComponentELUtils.isCompositeComponentExpression(attributeExpressionString))
>                 {
>                     methodExpression = new ValueExpressionMethodExpression(attributeNameValueExpression);
>                 }
> This strategy causes problems when complex EL expressions are resolved.
> I think it is better to "unwrap" the original expression, trying to find LocationValueExpression
wrappers and "rewrap" the method expression to be created with a LocationMethodExpression.
In this way, complex EL expressions are resolved correctly.
> I did some tests and it works well. Minor fixes were included with this patch too.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message