tags:

views:

85

answers:

1

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.

+2  A: 

Does this work?

<h:outputText value="#{m[key]}" />
amorfis
That work perfectly! Thanks :)
marioosh.net