incubator-adffaces-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Kind (JIRA)" <adffaces-iss...@incubator.apache.org>
Subject [jira] Updated: (ADFFACES-432) XMLMenuModel does not correctly parse Resource Bundle EL expressions for menu item labels.
Date Fri, 30 Mar 2007 18:28:25 GMT

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

Gary Kind updated ADFFACES-432:
-------------------------------

    Attachment: faces-1_2-070201.patch

method _evalELStr() is greatly simplified in this patch and is the way it should have been
written in the first place.

> XMLMenuModel does not correctly parse Resource Bundle EL expressions for menu item labels.
> ------------------------------------------------------------------------------------------
>
>                 Key: ADFFACES-432
>                 URL: https://issues.apache.org/jira/browse/ADFFACES-432
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>            Reporter: Gary Kind
>         Attachments: faces-1_2-070201.patch
>
>
> A typical entry for a menu item might be:
>     <itemNode id="__medical_itemNode__" label="#{bundle.MEDICAL_NAVBAR}"
>               action="__medical_menu_action__" focusViewId="/medical"/>
> Note the "dot" notation for the label's EL expression. This is parsed correctly.  However
another legal entry might be:
>     <itemNode id="__medical_itemNode__" label='#{bundle["MEDICAL_NAVBAR"]}'
>               action="__medical_menu_action__" focusViewId="/medical"/>
> Note the "bracket" notation for the label's EL expression.  The XMLMenuModel does not
parse this correctly and returns null instead of the correct value.

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