Re: How do you display a HashMap> in a .tml table

2009-07-15 Thread cajmrn
Hello Igor, Thank you for the reply, What I've implemented so far is I've converted the hashmap keys and values to their respective collection types. but when I pass either one of them to the grid component it displays the number of objects passed but none of the information is passed. below is

Re: How do you display a HashMap> in a .tml table

2009-07-14 Thread Igor Drobiazko
Just convert your Map into a GridDataSource which you pass to the component. Take a look at Tapestry's internal implementation of GridDataSource which is constructed from a collection. http://tapestry.formos.com/nightly/tapestry5/apidocs/src-html/org/apache/tapestry5/internal/grid/CollectionGridD

How do you display a HashMap> in a .tml table

2009-07-14 Thread cajmrn
Hello all, I am once again stuck and unsure as to how to implement the following. I have a HashMap that contains a String id for the Key and an ArrayList as the value. What I need to do is to display in a table or grid each arrayList as it corresponds to a Key. How would you go about iterating