[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
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.
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
> -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
> -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
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
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]
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
&
|
| bcc:
|
| Su
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
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
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
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
13 matches
Mail list logo