cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Quenot <>
Subject Re: JXTemplate - HashMap
Date Mon, 20 Sep 2004 10:04:48 GMT
* Yves Hougardy:

> i need to get the keys and values out of an java.util.Map with jxpath.
> However, i'm not  supposed to know the  keys of the map. How  can i do
> that?

Try to iterate over the keys of the map:

<jx:forEach var='key' items='${map.keySet()}'>
  ${key}: ${map.get(key)}'/>

Best regards,
Jean-Baptiste Quenot
Anyware Technologies

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message