JSF: Resource bundle key (name) as EL expression?
How to make work something like that:
<c:forEach items="#{bean.data}" var="key" >
<h:outputText value="#{m[#{key}]}" />开发者_开发问答
</c:forEach>
I need to get value from messages.properties, but dynamically using #{} expression.
Does this work?
<h:outputText value="#{m[key]}" />
精彩评论