I have used the following:

<logic:iterate id="subscription" name="provider" property="subscriptions">

   <logic:iterate id="product" name="subscription" property="products">
   </logic:iterate>
</logic:iterate>
and it works find.
You have to give in each case the property that will get the collection on
which the iteration will occur.

Konstantina
----- Original Message -----
From: "Heiko Jürgens" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 05, 2003 2:00 PM
Subject: Nesting <logic:iterate>


> Hi all,
>
> is it possible to nest iterate-tags with Struts 1.1?
>
> I have an ArrayList rows which contains ArrayLists.
>
> I tried this in a JSP:
>
>    <logic:iterate id="row" name="rows" >
>
>       <logic:iterate id="field" name="row">
>           <bean:write name="field"/>
>       </logic:iterate>
>
>     </logic:iterate>
>
> But I always get an error, saying _jspx_field_1 is already defined in
> the JSP.
>
> Is there something wrong with my code or isn't this possible?
>
> TIA
>
> Heiko
>
>
>
> --
>
>
> ---------------------------------------------------------------------
> 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