Hi Gutemberg,
Grid needs a collection as its source parameter. HashMap (i.e. the
Map-Interface) is no collection itsself, but provides two methods to get the
collections "Collection values()" or "Set> entrySet()". Use
one of those as source for Grid.
One sidenote, HashMap does not garantuee the order of its elements. I.e. the
order might be different on every iteration. That might not look very good to
your users. You should consider switching the implementation to LinkedHashMap
or even change the interface to SortedMap and use its implementation TreeMap.
Regards, nillehammer
==
http://www.winfonet.eu
- original Nachricht ----
Betreff: gridtable with hashmap
Gesendet: Fr, 26. Jun 2009
Von: Gutemberg Albuquerque Da Silva
> somebody knows to make one gridtable with one hashmap?
>
> thanks.
>
> --
> Gutemberg Albuquerque Da Silva
>
--- original Nachricht Ende
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org