You can use LabelValueBean that's available in
org.apache.struts.util.LabelValueBean package


-----Original Message-----
From: Daniel Lipofsky [mailto:[EMAIL PROTECTED]
Sent: Friday, February 06, 2004 5:12 PM
To: [EMAIL PROTECTED]
Subject: iterate over list of maps


I want to iterate over a list where each object in the
list is a map, and print values from the map.  The problem,
of course, is Map is not a bean - no getters and setters.
Do I have to wrap each map in a bean, or is there a
more clever approach.

(I am pretty much stuck with list:iterate, not c:forEach,
because I am actually using a specialize tag that extends
list:iterate).

Thanks,
Dan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to