Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 98493 invoked from network); 2 Aug 2006 04:31:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Aug 2006 04:31:32 -0000 Received: (qmail 97876 invoked by uid 500); 2 Aug 2006 04:31:22 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 97571 invoked by uid 500); 2 Aug 2006 04:31:21 -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 97560 invoked by uid 99); 2 Aug 2006 04:31:21 -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:31:21 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of puneet.lakhina@gmail.com designates 64.233.166.181 as permitted sender) Received: from [64.233.166.181] (HELO py-out-1112.google.com) (64.233.166.181) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Aug 2006 21:31:21 -0700 Received: by py-out-1112.google.com with SMTP id w49so1666885pyg for ; Tue, 01 Aug 2006 21:31:00 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=qaYrGOXcU6rYvB86K0tQU1o+nDTdERZrWTnemFXwrJIzwY0z7XBhJlyECD5YwNmZUx9ktV9MmEtF5oCeupa/veM2Dm2qYcwgzcSkailmNTYjVo9oIzkbTOVfAUb1GdDkBJDEEG/KbMlorROlOOQd5vHhFyeX+E/2tjm3bdwVQpI= Received: by 10.35.51.6 with SMTP id d6mr757569pyk; Tue, 01 Aug 2006 21:31:00 -0700 (PDT) Received: by 10.35.47.3 with HTTP; Tue, 1 Aug 2006 21:31:00 -0700 (PDT) Message-ID: Date: Wed, 2 Aug 2006 10:01:00 +0530 From: "Puneet Lakhina" To: "Struts Users Mailing List" Subject: Runtime Expression in logic:equal MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_97166_28668062.1154493060098" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_97166_28668062.1154493060098 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ------=_Part_97166_28668062.1154493060098--