From: "Chris Gastin" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: Iterating List of Lists
Date: Thu, 30 Oct 2003 21:55:53 -0600

I have List of Lists of DataObjects. I want to iterate through that List of
Lists to get access to the Data Object, where I will print the values of the
attributes on the data object. I have the outer loop working, but I don't
understand how to get the Data out of the list in the inner loop.


This is my latest attempt:

<logic:iterate id="list" name="di3List" scope="request">
            <logic:iterate id="data" collection="list">
                        <li><bean:write name="data" property="word"/> -
<bean:write name="data" property="definition"/></li>
            </logic:iterate>
</logic:iterate>


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


_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail



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



Reply via email to