Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 676 invoked from network); 2 Aug 2006 04:41:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Aug 2006 04:41:19 -0000 Received: (qmail 10873 invoked by uid 500); 2 Aug 2006 04:41:10 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 10842 invoked by uid 500); 2 Aug 2006 04:41:10 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 10831 invoked by uid 99); 2 Aug 2006 04:41:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Aug 2006 21:41:10 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [202.157.148.20] (HELO mail20.bluerapport.com) (202.157.148.20) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Aug 2006 21:41:09 -0700 Received: from mail.bluesingapore.com (unknown [203.125.247.10]) by mail20.bluerapport.com (Postfix) with ESMTP id A4AD37E890E for ; Wed, 2 Aug 2006 12:43:04 +0800 (SGT) Received: from cpandey ([10.0.0.171]) by bluesingapore.com with MailEnable ESMTP; Wed, 02 Aug 2006 12:38:45 +0800 From: "Chetan Pandey" To: "'Struts Users Mailing List'" Subject: RE: Runtime Expression in logic:equal Date: Wed, 2 Aug 2006 12:38:44 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 Thread-Index: Aca17D0uAWcFFdmhSBup8sOW2N6IfwAAS+ZA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 In-Reply-To: Message-Id: <20060802044304.A4AD37E890E@mail20.bluerapport.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Why don't you use displaytags (http://www.jamesgood.com:8080/displaytag-examples-1.1-SNAPSHOT/docs/tut_bas ic.html) Chetan Pandey -----Original Message----- From: Puneet Lakhina [mailto:puneet.lakhina@gmail.com] Sent: Wednesday, August 02, 2006 12:31 PM To: Struts Users Mailing List Subject: Runtime Expression in logic:equal Hi, I have a collection over which Im iterating using logic iterate tag and inside that im creating the rows of a table. I need to color the rows of the table alternately. I have used the attribute indexId in in the iterate tag But i need to use some kind of runtime expression in logic:equal tag to know even and odd rows. I could always do it with simple jsp, but if there is an option to do it in struts it will be really useful. i mean something like the following -- Puneet --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org