struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "thomas Sontheimer" <thomas.sonthei...@artal.fr>
Subject RE : <logic:iterate> with changing row colors
Date Tue, 16 Sep 2003 14:55:38 GMT
here are means to do it:

http://husted.com/struts/FAQ/view-logic.htm

> -----Original Message-----
> From: reps@grass-gmbh.de [mailto:reps@grass-gmbh.de] 
> Sent: Tuesday, September 16, 2003 3:17 PM
> To: Struts-User
> Subject: <logic:iterate> with changing row colors
> 
> 
> hello,
> 
> i use <logic:iterate> and want to change the cgcolor every row.
> 
> usualy i do something like this thisway:
> 
> if(currentrow mod 2 == 0)
> {
> bgcolor = "color1";
> }
> else
> {
> bgcolor = "color2";
> }
> 
> 
> how would u do this with struts ?
> i would prefer to do this without any jsp, so far my code is 
> "struts only"
> :)
> 
> any ideas ?
> 
> Mit freundlichen Grüßen
> 
> Christian Reps, Dipl. Inf. (FH)
> Web Applications
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message