Your use of the logic:iterate attributes does not look
right
(http://jakarta.apache.org/struts/struts-logic.html#iterate).
 I believe you want 'name="CARVO"', 'id' is supposed
to be whatever name you want to assign to Objects from
the map (In this special case, the Map.Entry Objects).
 You use that exposed instance for the bean:writes
inside your iteration, like:

<logic:iterate id="equipment" name="CARVO">
  <bean:write name="equipment" property="*value"/>
</logic:iterate>

*Since this is a Map, see the link.  For other
collections, this would correspond to a getter of the
equipment instance.

HTH

m

--- "news.basebeans.com" <[EMAIL PROTECTED]>
wrote:
> Hi there,
> 
> does anybody know how to iterate over an Array with
> HashMaps with the
> logic:terate tag?
> 
> I have a VO (CARVO) which contains the following
> object with getter an
> setter methods:
> private Map mapEquipment[] = null;
> 
> the JSP page has the following code:
> 
> <jsp:useBean id="CARVO" scope="request"
> class="de.media.car.CarVO"/>
> 
> How it is possible to read the Array of Maps?
> 
> <logic:iterate id="CARVO" name="mapEquipment">
>  TEST-<bean:write name="CARVO"/>
> </logic:iterate>
> 
> 
> 
> Thanks
> 
> 
> 
> lukas
> 
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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

Reply via email to