problem with iterate over java.util.Map using "JSF" OR JSTL TAGS
- by New-To-Java
I'm using Richfaces jsf and I want to iterate over an Map<Object,Object>. I see many examples on sun forums and other sites but in my case it doesn't work !
here is my xhtml code :
<c:forEach items="#{order.customOptions}" var="option">
<h:outputText value="this text does not print"/>
<h:outputText value="#{option.value.name}" />
<h:outputText value="#{option.value.key}" />
</c:forEach>
and the "order" object is of type "Order".
"customOptios" is of type Map<CustomOption,CustomOptionValue>
and when I create an javascript alert on to print '#{order.customeOptions}' it's content is true. but it's not even enter in c:forEach loop.
please heeeeelp me :(