[
https://issues.apache.org/jira/browse/MYFACES-1854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12587813#action_12587813
]
Leonardo Uribe commented on MYFACES-1854:
-----------------------------------------
Maybe if you try to load the bundle using:
<application>
<resource-bundle>
<base-name>
org.apache.myfaces.examples.resource.example_messages
</base-name>
<var>bundle</var>
</resource-bundle>
</application>
on your faces-config.xml, the bundle can be evaluated. If you are using
f:loadBundle, this error could happen, because f:loadBundle add the reference
on render response time.
Could you test if this workaround works?
> <f:selectItems> does not evaluates EL expressions
> -------------------------------------------------
>
> Key: MYFACES-1854
> URL: https://issues.apache.org/jira/browse/MYFACES-1854
> Project: MyFaces Core
> Issue Type: Bug
> Affects Versions: 1.2.2
> Reporter: Guy Bashan
>
> <f:selectItems> does not evaluates EL expressions. This, for example, makes
> impossible to create multi-language dynamic drop down items.
> Example:
> -------------
> SelectItem selectItem = new SelectItem("-1",
> "#{bundle['dropdown.advertiser.select']}")
> This EL expression will not be evaluated.
> In JSP value is evaluated:
> <h:selectOneMenu>
> <f:selectItem itemValue="-1"
> itemLabel="#{bundle['dropdown.advertiser.select'']}" />
> </h:selectOneMenu>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.