Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 27313 invoked from network); 21 Sep 2007 21:34:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Sep 2007 21:34:15 -0000 Received: (qmail 12011 invoked by uid 500); 21 Sep 2007 21:34:05 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 11981 invoked by uid 500); 21 Sep 2007 21:34:05 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 11970 invoked by uid 99); 21 Sep 2007 21:34:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Sep 2007 14:34:05 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Sep 2007 21:36:16 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8D5A371422E for ; Fri, 21 Sep 2007 14:33:50 -0700 (PDT) Message-ID: <25728745.1190410430563.JavaMail.jira@brutus> Date: Fri, 21 Sep 2007 14:33:50 -0700 (PDT) From: "Gary Kind (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Created: (TRINIDAD-734) EL expression used for node labels gets evaluated only once MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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.