have a look at the nested taglib from Arron Bates -- should help you out
http://www.keyboardmonkey.com/struts

hth,
tomK

> -----Original Message-----
> From: Collard, John [mailto:[EMAIL PROTECTED]] 
> Sent: donderdag 10 januari 2002 15:31
> To: 'Struts Users Mailing List'
> Subject: quick question: nested Iterate process.
> 
> 
> How would I iterate through an ArrayList that is within an 
> ArrayList that is
> already in an iterate tag?
> 
> Example:      ArrayList:      dInfoList
>               Structure:      var1: String
>                               var2: String
>                               var3:   int
>                               var4: ArrayList
>                               Structure:  var4_1:  String
>                                               var4_2:  String
> 
> 
> <logic:iterate id="myInfoList" name="myBean" property="dInfoList">
> <tr>
>       <td VALIGN="TOP">
>               <bean:write name="myInfoList" property="var1"
> filter="true"/>
>       </td>
>       <td VALIGN="TOP">
>               <bean:write name="myInfoList" property="var2"
> filter="true"/>
>       </td>
> 
>       <!-- Need to iterate through var4 here -->
>       <logic:iterate id="mySubList" name="?????" property="?????">
>             <td VALIGN="TOP">
>                       <bean:write name="mySubList" property="var4_1"
> filter="true"/>
>                       <bean:write name="mySubList" property="var4_2"
> filter="true"/>
>               </td>
>       </logic:iterate>
>                       
> </tr>
> </logic:iterate>
> 
> 
> Thanks,
>  John Collard
>  [EMAIL PROTECTED]
> 
> --
> To unsubscribe, e-mail:   
> <mailto:struts-user-> [EMAIL PROTECTED]>
> For 
> additional commands, 
> e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 

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

Reply via email to