Try this... <logic:iterate id="category" name="categoryList" type="org.teulings.knowhow.bean.Category" property="property_of_X_that_is_a_list">
Tim Teulings wrote: > > Hello! > > I want to display a property in my *jsp that is of type Collection > (LinkedList) of Collection (LinkedList) of Bean - in principle a two > dimensional matrix of Beans. > > I tried to use some code like > > <logic:iterate id="categoryList" name="categories" > type="java.util.LinkedList"> > X > <logic:iterate id="category" name="categoryList" > type="org.teulings.knowhow.bean.Category"> > Y > </logic:iterate> > </logic:iterate> > > but this does not work as the second iterate cannot see the iteration > variable of the first iterate (categoryList). Using similar "nested" > tags did not help either. I also look more closer at the "nested" > tutorials but they assume that I buil dmy datastructure all together > based on my beans. > > I s there a way to use nested java collections or do I have to fall back > to building my own beans? > > > -- > Gru?... > Tim. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Iterating-over-a-Collection-of-Collection-of-Bean-tf538426.html#a7352467 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]