Hi, I'm need to iterate over a map and have access to both the keys and values. I was hoping for something like like:
<jx2:forEach items="${pages}" var="p"> <page key="${p.key}" value="${p.value}""/> This doesn't work. What I've found is that the variable p actually has the value in it. So, instead of java.util.Map.entrySet().iterator() being called to do the iteration, it seems as if java.util.Map.getValues().iterator() is called to do this iteration behind the scenes. This is in contrast to jstl. Anyways, does anyone know a way to get the key? Thanks, Ben --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]