Subject: converting logic:iterate to nested:iterate
From: "Matt Raible" <[EMAIL PROTECTED]>
 ===
How would I convert the following to use the nested tags:

<logic:iterate id="topic" name="courseForm" property="topics">
    Topic Name: <bean:write name="topic" property="name"/><br/>
</logic:iterate>

I want to do this because my "topics" each have children that I want to
iterate too:

pseudo-code would look like this:

<logic:iterate id="topicForm" name="courseForm" property="topics">
    Topic Name: <bean:write name="topicForm" property="name"/><br/>
    <logic:iterate id="pageForm" name="topicForm" property="pages">
    &nbsp;&nbsp; - Page Name: <bean:write name="pageForm"
property="name"/><br/>
    </logic:iterate>
</logic:iterate>

Maybe I don't need the nested tag?

Thanks,

Matt



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

Reply via email to