Correct me if I am wrong but I believe you can do this:
<logic:iterate id="myListRef" name="myList" scope="request">
<bean:write name="myListRef"
property="[dataMemberNameOfObjInList]"/>
</logic:iterate>
where [dataMemberNameOfObjInList] is a fill in the blank with what it says
and not a real piece of code.
If you don't specify property attribute in the iterate tag then it assumes
you want to go to the request directly.
-----Original Message-----
From: Mike Whittaker [mailto:[EMAIL PROTECTED]
Sent: Monday, June 02, 2003 12:46 PM
To: Struts List
Subject: tag newbie - easy question
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
--
Mike W
---------------------------------------------------------------------
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]