<logic:iterate name="editResourceAttributesForm" property="indexedBeans"
id="indexedBean">

    <bean:write name="indexedBean" property="id">

</logic:iterate>

This will use the editResourceAttributesForm bean and retrieve the arraylist
named indexedBeans from it, then will iterate through the list putting each
element in the arraylist into the variable named indexedBean.  then inside
the tags I output the id property of indexedBean.

-Good Luck

David

----- Original Message ----- 
From: "Ian Joyce" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 29, 2003 1:56 PM
Subject: logic:iterate


> Hi,
>
> Can someone give me an example of how to iterate over an ArrayList of
> Strings using the iterate logic tag?
>
> Thanks
>
> ---------------------------------------------------------------------
> 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