Return-Path: Delivered-To: apmail-jakarta-taglibs-user-archive@www.apache.org Received: (qmail 58245 invoked from network); 13 Sep 2004 15:56:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 13 Sep 2004 15:56:37 -0000 Received: (qmail 87364 invoked by uid 500); 13 Sep 2004 15:56:32 -0000 Delivered-To: apmail-jakarta-taglibs-user-archive@jakarta.apache.org Received: (qmail 87311 invoked by uid 500); 13 Sep 2004 15:56:32 -0000 Mailing-List: contact taglibs-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tag Libraries Users List" Reply-To: "Tag Libraries Users List" Delivered-To: mailing list taglibs-user@jakarta.apache.org Received: (qmail 87295 invoked by uid 99); 13 Sep 2004 15:56:31 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [158.228.2.31] (HELO Front-end1.KRONOS.COM) (158.228.2.31) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 13 Sep 2004 08:56:28 -0700 Received: from exchg-e.KRONOS.COM ([158.228.0.198]) by Front-end1.KRONOS.COM with Microsoft SMTPSVC(6.0.3790.0); Mon, 13 Sep 2004 11:56:25 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Looping with paramValues Date: Mon, 13 Sep 2004 11:56:25 -0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Looping with paramValues Thread-Index: AcSZphtBLT2YAgQFQWunIeENzkfc7QAA+PMg From: "Ross, Douglas" To: "Tag Libraries Users List" X-OriginalArrivalTime: 13 Sep 2004 15:56:25.0395 (UTC) FILETIME=[390E6030:01C499AA] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Helios, Small correction (I think), did you mean ... > > > > > Note: I switched var and items values. -----Original Message----- From: Helios Alonso [mailto:halonso@atg.com.uy]=20 Sent: Monday, September 13, 2004 11:28 AM To: Tag Libraries Users List Subject: Re: Looping with paramValues The items in the params collection are Entries (java.util.Map.Entry I=20 think). So you can access two properties at each entry: key and value. You can do (changing paramValues to entry for clarity): > > > > > At 10:50 13/09/2004 +0100, you wrote: >Closest I've got in my extant code is something like this: > > > > > > > >Regards, > >Malcolm. > > >Nic Werner wrote: >>Hi, >> Is there a '.key' accessor for paramValues? Basically I only want to=20 >> access the variables that match a certain index and do comparison work=20 >> with them.... >> I'm familiar with accessing data using paramValues.var_name[index],=20 >> and I'm familiar with looping through params with only one value: >> >>
>>
>>The problem with paramValues is that I have to specify a variable name,=20 >>while params lets me use '.key'. >>Thanks for your help, >>- Nic >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org >>For additional commands, e-mail: taglibs-user-help@jakarta.apache.org > >--------------------------------------------------------------------- >To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: taglibs-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: taglibs-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: taglibs-user-help@jakarta.apache.org