How about iterating over the entry set? 

.java
  @Property
  private Map.Entry entry;

<t:loop source="map.entrySet()" value="entry">
    ${entry.key}: ${entry.value}
</t:loop>

Robert
  
On Jul 15, 2011, at 7/151:27 AM , dick_hu wrote:

> How can I Loop the Map?
> in the loop I can get the key and value.
> Can anyone share a part of code?
> Thanks a lot.
> 
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/Loop-Map-tp4589569p4589569.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to