I'll chime in like everyone else plus give you alternatives:

Have you even looked at the DisplayTag documentation, live examples or
looked at the configuration information?  The examples show the alternating
row css coloring is automatic (even[row]/odd[row] css styles) while the
configuration page on their site even mentions how to control those CSS
styles+classes and more.  Also, if you have any trouble with DisplayTag you
can have some very similar functionality from ValueList:
http://valuelist.sourceforge.net (they also have a link to "Live Samples."

Regards,
David

-----Original Message-----
From: Abhimanyu Koul [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 25, 2006 1:56 AM
To: Struts Mailing list
Subject: urgent


hi all!
I want to display the records in a list using display tag in a tabular form.
But i need to alternate row background colours using css. i am not able to
figure out how.
how do we alternate styles in rows of a table using css and display tag.


Abhimanyu Koul
FinEng Solutions (P)  Ltd.
Dani Compound,
158, Vidyanagari Marg,
Kalina, Santacruz (East),
Mumbai - 400 098
Mobile : +91 9860582533


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

Reply via email to