tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "howard kelsey (JIRA)" <...@tapestry.apache.org>
Subject [jira] Commented: (TAPESTRY-2736) Ognl doesn't evaluate dynamic expressions correctly
Date Tue, 17 Nov 2009 09:34:39 GMT

    [ https://issues.apache.org/jira/browse/TAPESTRY-2736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12778789#action_12778789
] 

howard kelsey commented on TAPESTRY-2736:
-----------------------------------------

Hi Greg 
You are correct in that using #this will make the expression work, this is because from what
I can remember it won't cache the expression but rather evaluate it everytime. Which means
that you don't get the performance gain that Tap4.1 promises for expressions. 


> Ognl doesn't evaluate dynamic expressions correctly
> ---------------------------------------------------
>
>                 Key: TAPESTRY-2736
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2736
>             Project: Tapestry
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 4.1.6
>         Environment: java 1.5, tomcat 5.5
>            Reporter: howard kelsey
>            Priority: Critical
>         Attachments: ognlTestCase.tar.gz
>
>
> Ognl doesn't evaluate dynamic expressions correctly anymore. 
> For instance if you have the ognl expression content.domain[sharedPickerProperty] where
sharedPickerProperty is a property of the page that is updated during a For loop the value
returned is always that of content.domain.'first value of sharedPickerProperty'. This used
to work in tapestry 4.0.x.

-- 
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