On 03.08.2012 02:40, Angelo C. wrote:
> I'm trying to iterate a map in template with following code, but, it turns
> out that the entire map is only one row, I'm sure I have made something
> wrong, can anybody point it out? Thanks,
Try this (untested):
-
${entry.key}: ${entry.value}
I expect count to be of type MapEntry or in case getCounts() returns
cnts.values() instead it has to be of type string?
Jens
Sent from my iPhone
On 03.08.2012, at 02:40, "Angelo C." wrote:
> Hi,
>
> I'm trying to iterate a map in template with following code, but, it turns
> out that the ent
I don't understand. Your loop source and value are both the same type?
The way you have this setup, it won't work. You should consider setting
your source to the keyset of the map, and provide properties in your class
that return the value based on the current key.
On Thu, Aug 2, 2012 at 7:40 P