Excuse my naivet�, how would I refer to collection within a collection?
Thanks

-----Original Message-----
From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 14, 2003 10:20 AM
To: 'Struts Users Mailing List'
Subject: RE: Collection within Collection


You can use the Index property of the <iterate> tag to iterate through a
collection of collections.

Mark

-----Original Message-----
From: Wendy Smoak [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, January 14, 2003 10:04 AM


> I have a collection (of ArrayLists) within a collection of 
> (ArrayLists). In my action class I call a method that returns a 
> collection of historyItems.  I set that in request scope: For each 
> historyItem iteration, I want to iterate though the deltaItems: How 
> can I do this?  How do I refer to the deltaItem collection within each 
> historyItem collection?

Is JSTL an option?  You can nest <c:forEach> tags and iterate through
collections of collections.

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University PA Information Resources Management



--
To unsubscribe, e-mail:
<mailto:[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