try this

<nested:iterate name="courseForm" property="topics">
   <nested:write name="<Name of the nested object in
courseForm Bean>" property=<"Property of the nested
Object you wish to display">
</nested:iterate>

Hope this helps, if not let me know and I will send
you a detail worked out solution.

-Sanjay
--- Struts Newsgroup <[EMAIL PROTECTED]> wrote:
> 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]>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/

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

Reply via email to