myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Kind (JIRA)" <...@myfaces.apache.org>
Subject [jira] Created: (TRINIDAD-734) EL expression used for node labels gets evaluated only once
Date Fri, 21 Sep 2007 21:33:50 GMT
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


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.


Mime
View raw message