struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tarun Sainanee" <>
Subject RE: alternate row color
Date Tue, 06 Aug 2002 11:43:40 GMT
Hi Tod, I downloaded the zip from the site.
I will place the tld with the other tlds. What do i do with 
It seems to belong to the package com.amarda.framework.taglib!!!
Tarun Sainanee
TCS Delhi
Nothing gives one person so much advantage over another as to remain 
always cool and 
unruffled under all circumstances.
-- Thomas Jefferson

"Todd G. Nist" <>
08/06/2002 05:12 PM
Please respond to "Struts Users Mailing List"

        To:     "'Struts Users Mailing List'" <>
        Subject:        RE: alternate row color


You could use the "RowTag" tablib found on the "Struts Resource" page.

<%@ taglib uri="/WEB-INF/rowtag.tld" prefix="row" %>

  <logic:iterate id="row" name="rows">
    <row:row styleId="dataRow" oddStyleClass="gridRowOn"

There is also support for the basic events, onclick, ondblclick....

Or you could achieve it with a scriplet.

I would stick with the tag if  you can.  We use and it works just fine.

Hope that helps.


Todd G. Nist

-----Original Message-----
From: Tarun Sainanee []
Sent: Tuesday, August 06, 2002 5:55 AM
Subject: alternate row color

I am using the logic:iterate tag to display multiple rows of a search

Now to make it a little more presentable, i need to alternate the colour
of each row.

How can i do that?


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message