Re: iterate collection

2001-06-26 Thread Ted Husted
I think you need to say name=roles instead of collection=roles. Assuming there is as roles.getValue() accessor, the rest looks fine. If not, you may just need bean:write:element if the objects in roles have a toString() method. Simon Liang wrote: Hi: Can someone help with this? I can't

Re: iterate collection

2001-06-26 Thread Shoulico
logic:iterate id=element collection=roles should be logic:iterate id=element name=roles --- Simon Liang [EMAIL PROTECTED] wrote: Hi: Can someone help with this? I can't find an example whether struts iterate throught a collection. ! The code

RE: iterate collection

2001-06-26 Thread Simon Liang
/logic:iterate !---End The code % Simon -Original Message- From: Shoulico [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 26, 2001 11:25 AM To: [EMAIL PROTECTED] Subject: Re: iterate collection logic:iterate id=element collection=roles should

RE: iterate collection

2001-06-26 Thread Shoulico
!---End The code % Simon -Original Message- From: Shoulico [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 26, 2001 11:25 AM To: [EMAIL PROTECTED] Subject: Re: iterate collection logic:iterate id=element collection=roles should be logic:iterate id