Re: logic:iterate and table row renderering

2000-12-19 Thread Pierre Métras
Sent: Tuesday, December 19, 2000 5:27 AM Subject: Re: logic:iterate and table row renderering > On 12/19/2000 at 1:16 AM Wong Kok Wai wrote: > > I'm using the logic:iterate tag to render a table. Now I need to show > alternating colours for odd and even table rows. How do I achi

Re: logic:iterate and table row renderering

2000-12-19 Thread Ted Husted
On 12/19/2000 at 1:16 AM Wong Kok Wai wrote: > I'm using the logic:iterate tag to render a table. Now I need to show alternating colours for odd and even table rows. How do I achieve this effect together with the logic:iterate tag? Inside the HTML that you are iterating, you might be able to call

Re: logic:iterate does not work with HashMap

2000-11-24 Thread Jannik Nørgaard Steen
Hi, we looked in the Struts source code a second time. Line 283 and 284 says: else if (collection instanceof Map) iterator = ((Map) collection).entrySet().iterator(); This gets you an iterator of the *mappings* in the Map. So each element is a java.util.Map.Entry - right ? The doAfterBody

RE: logic:iterate does not work with HashMap

2000-11-24 Thread Jon-Paul Harkin
I also have a similar problem but using a Vector instead of a HaspMap Any feedback would be appreciated Regards, Jon-Paul -Original Message- From: Jannik Nørgaard Steen [mailto:[EMAIL PROTECTED]] Sent: 24 November 2000 11:22 To: [EMAIL PROTECTED] Subject: logic:iterate does not work wi

<    1   2   3