I dont see why Mike's advice didnt work.
But make sure u use a different ID to avoid possible confusion:

<logic:iterate id="myListItem" name="myList">
   <bean:write name="myListItem" property="myProperty"/>
</logic:iterate>

-Tim

-----Original Message-----
From: Mike Jasnowski [mailto:[EMAIL PROTECTED]
Sent: Monday, June 02, 2003 2:08 PM
To: Struts Users Mailing List
Subject: RE: tag newbie - easy question


Oop, sorry, I should have read your post more carefully, missed the
ArrayList part.

-----Original Message-----
From: Mike Whittaker [mailto:[EMAIL PROTECTED]
Sent: Monday, June 02, 2003 12:56 PM
To: Struts Users Mailing List
Subject: RE: tag newbie - easy question


As I thought but:

'No getter method for property myProperty of bean myList'

The ArrayList is a raw ArrayList, It isn't a wrapper.

>
>
>myList
>
>
>
>
>What goes in name="" to access a bean in the collection as specified below
>collection is an ArrayList of beans, each bean has a getMyProperty() method
>
><logic:iterate id="myList" collection="<%= request.getAttribute("myList")
>%>">
>
>       <bean:write name="" property="myProperty"/>
>
></logic:iterate>
>
>Thankyou
>
>


---------------------------------------------------------------------
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]

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

Reply via email to