Re: Alternate color in html:iterate

2005-07-14 Thread Rick Reumann
[EMAIL PROTECTED] wrote the following on 7/14/2005 2:21 AM: 1. Have 2 classes in CSS. 2. within iterate write: .. 3. In the corresponding form: public String getListRowClass() { if ( "oddRow".equals(lis

Re: Alternate color in html:iterate

2005-07-14 Thread Rick Reumann
Leon Rosenberg wrote the following on 7/13/2005 6:06 PM: Rick is it possible to extend your tag with attr. statusName to give the name of the attribute in a scope which holds the value instead of the value itself? :-) Sure that would work. I love JSP tag files.. so darn easy to work with.

Re: Alternate color in html:iterate

2005-07-13 Thread amitava . basak
1. Have 2 classes in CSS. 2. within iterate write: .. 3. In the corresponding form: public String getListRowClass() { if ( "oddRow".equals(listRowClass)) listRowClass = "evenRow"; else

Re: Alternate color in html:iterate

2005-07-13 Thread Leon Rosenberg
> -Ursprüngliche Nachricht- > Von: Rick Reumann [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 13. Juli 2005 19:24 > An: Struts Users Mailing List > Betreff: Re: Alternate color in html:iterate > ... > You mentioned you were using logic:iterate, which in

Re: Alternate color in html:iterate

2005-07-13 Thread Leon Rosenberg
> -Ursprüngliche Nachricht- > Von: Rick Reumann [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 13. Juli 2005 19:24 > An: Struts Users Mailing List > Betreff: Re: Alternate color in html:iterate > ... > You mentioned you were using logic:iterate, which in

Re: Alternate color in html:iterate

2005-07-13 Thread Rick Reumann
Senthilrajan VS wrote the following on 7/13/2005 10:53 AM: Hi All, I'm using html:iterate to display the set of records in the table. Is there any way to put the alternate color using CSS classes in tag libraries Since you will probably need this functionality in several places in your appli

Re: Alternate color in html:iterate

2005-07-13 Thread Borislav Sabev
Take a look at Strus-Layout, there are a lot of suefull tags inluding iteration tags with alternate colors, soring, paging etc http://struts.application-servers.com/ Regards Borislav - To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: Alternate color in html:iterate

2005-07-13 Thread Adrian_Rios
D] Sent: Wednesday, July 13, 2005 8:14 AM To: Struts Users Mailing List Subject: Re: Alternate color in html:iterate Hi! Try this: class="odd"<% } else { %>class="even"<% } %>> It works fine. Define the colours in your local css file for the classes &

Re: Alternate color in html:iterate

2005-07-13 Thread Ext . Ilitia2
| | bcc: | | Su

Re: Alternate color in html:iterate

2005-07-13 Thread Marc Walter
Hi! Try this: class="odd"<% } else { %>class="even"<% } %>> It works fine. Define the colours in your local css file for the classes "odd" and "even". Kind regards, Marc Walter - Hi All, I'm using html:iterate to display the set of records in the table. Is there any

Re: Alternate color in html:iterate

2005-07-13 Thread Wendy Smoak
From: "Senthilrajan VS" <[EMAIL PROTECTED]> > I'm using html:iterate to display the set of records in the table. Is there any way > to put the alternate color using CSS classes in tag libraries There is, but a FAR better idea is to use DisplayTag: http://displaytag.sourceforge.net/ I have on

Re: Alternate color in html:iterate

2005-07-13 Thread BHansard
spond to "Struts Users Mailing List" To "Sturts Mailing list" cc Subject Alternate color in html:iterate Hi All, I'm using html:iterate to display the set of records in the table. Is there any way to put the alternate color using CSS classes in tag libraries Thanks & Regards, SenthilRajan VS

Alternate color in html:iterate

2005-07-13 Thread Senthilrajan VS
Hi All, I'm using html:iterate to display the set of records in the table. Is there any way to put the alternate color using CSS classes in tag libraries Thanks & Regards, SenthilRajan VS