tags:

views:

146

answers:

1

Hi there

I am trying to attempt to display a hashmap using a grid component. If I use

List list = CollectionFactory.newList(MyHashMap);

it returns a list however on my template page I see <theader>Empty</tHeader> and <tbody>false</tbody> when passing my parameter t:souce="list" to my grid component, therefore my grid component only returns one row.

Some code snippets would be a great help.

Many thanks

+1  A: 

besides the typo (see my comment) try to give the hashmap values as input to the newList method:

CollectionFactory.newList(MyHashMap.values());
Stefan De Boey