> Hello,
>
> It's a long mail, after a long day.
>
> Following is the scenario I am trying to get it done.
>
> My current processing:
>
> I have a BuddyListForm bean that has three instance variables
> name,alias and phoneno.
>
> code on my JSP page to iterate over the collection:
> <logic:iterate id="buddylist" name="buddyform" property="buddylist"
> scope="session">
>
> <tr>
>
> <td align="left">
>
> <bean:write name="buddylist" property="name" filter="true"/>
>
> </td>
>
> <td align="left">
>
> <bean:write name="buddylist" property="alias" filter="true"/>
>
> </td>
>
> <td align="center">
>
> <bean:write name="buddylist" property="phoneno" filter="true"/>
>
> </td>
>
> <td align="center">
>
> <html:link page="/pfbuddylist.do?cmd=edit">
>
> <html:img src="images/edit.gif"/>
>
> </html:link>
>
> <html:link page="/pfbuddylist.do?cmd=delete">
>
> <html:img src="images/delete.gif"/>
>
> </html:link>
>
> </td>
>
> </tr>
>
> </logic:iterate>
>
> This works fine.
>
> ############################
>
> Now I want to send multible BuddyListBeans as a collection to jsp, iterate
> first at bean level, then again at attribute level.
>
> i.e)
>
> <logic:iterate id="buddylist" name="buddyform" property="buddylist"
> scope="session">     bean level
>
> <logic:iterate  -----This is where help is
       ---------->
> attribute level
>
> </logic:iterate> attribute level
>
> </logic:iterate> beanlevel
>
> How do I do it?  Any help is appreciated
>
>
>
> Sundar
>
>
>
>
>
>
>
>

Reply via email to