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

Adam Winer updated TRINIDAD-734:
--------------------------------

    Status: Patch Available  (was: Open)

> EL expression used for node labels gets evaluated only once
> -----------------------------------------------------------
>
>                 Key: TRINIDAD-734
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-734
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>            Reporter: Gary Kind
>         Attachments: 122Branch.patch, trunk.patch
>
>
> The first time the actionListener calls the getLabel() method for a menu 
> node, if the stored label is an EL expression, it gets evaluated correctly 
> and the returned String is set on the label.  However, before this fix, the 
> evaluated String was set as the label for the menu item node.  This means 
> that the next time the getLabel() method is called, the EL expression is not 
> again evaluated as it should.  The String from the first time it was 
> evaluated is returned instead.  This is incorrect as it prevents an EL 
> expression from changing the label dynamically.

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

Reply via email to