You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Jeanne Waldman (JIRA)" <ad...@incubator.apache.org> on 2007/04/11 00:20:32 UTC

[jira] Resolved: (ADFFACES-432) XMLMenuModel does not correctly parse Resource Bundle EL expressions for menu item labels.

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

Jeanne Waldman resolved ADFFACES-432.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.1-incubating-core-SNAPSHOT

patch applied

> 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
>             Fix For: 1.0.1-incubating-core-SNAPSHOT
>
>         Attachments: trunk.patch, trunk.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.