given ArrayList stored  as 'foos' of  foo objects
  foo {
        ArrayList getBars() {...}
   }

  with foo.getBars() returning arraylist of bar objects 
  bar {
        String getSomeProperty(){..}
  }

  you can use

   <struts:iterate id="foo" name"foos">
     <struts:iterate id="bars" name="foo" property="bars">
       <struts:property name="bar" property="someProperty">
     </struts:iterate>
   </struts:iterate>



-----Original Message-----
From: Chalmers, Douglas [mailto:[EMAIL PROTECTED]]
Sent: 02 March 2001 09:36
To: Struts Mailing List
Subject: Nested Iterate tags


Has anyone out there used nested iterate tags to display the contents of
a collection, and to display contents of a collection within that
collection, returned in the 1st collection class by a get method. Both
are ArrayLists.

How should we refer to the inner collection? Can it be done? 

Doug Chalmers
Software Development
Petrotechnics Ltd
Exploration House
Exploration Drive
Aberdeen
707303 (Ext 14)
__________________________________________________________________

If you are not the addressee of this confidential e-mail and any 
attachments, please delete it and inform the sender; unauthorised 
redistribution or publication is prohibited. 
Views expressed are those of the author and do not necessarily 
represent those of Citria Limited.
__________________________________________________________________

Reply via email to