On 09/16/2003 04:55 PM thomas Sontheimer wrote:
here are means to do it:
http://husted.com/struts/FAQ/view-logic.htm
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- struts 1.1 + tomcat 4.1.27 + java 1.4.2 Linux 2.4.20 RH9
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]