Hi,
Some previous thoughts can be found
http://www.mail-archive.com/[email protected]/msg00204.html and
in the following posts.
Pierre M�tras
----- Original Message -----
From: "Ted Husted" <[EMAIL PROTECTED]>
To: "Struts List" <[EMAIL PROTECTED]>
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 achieve this
> effect together with the logic:iterate tag?
>
> Inside the HTML that you are iterating, you might be able to call a
> JavaScript to set the font color for each row, and have the JavaScript
> toggle a variable to return one color then the other.
>
> Of course, this script would be processed at display-time by the
> browser, rather than by Struts.
>
>
> -- Ted Husted, Husted dot Com, Fairport NY USA.
> -- Custom Software ~ Technical Services.
> -- Tel 716 425-0252; Fax 716 223-2506.
> -- http://www.husted.com/
>
>
>