Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 43295 invoked from network); 25 May 2006 21:40:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 May 2006 21:40:56 -0000 Received: (qmail 60256 invoked by uid 500); 25 May 2006 21:40:51 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 60179 invoked by uid 500); 25 May 2006 21:40:51 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 55334 invoked by uid 99); 25 May 2006 21:36:26 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Message-ID: <44762342.4010703@stagrp.com> Date: Thu, 25 May 2006 16:36:02 -0500 From: Jack Lund User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 To: commons-user@jakarta.apache.org Subject: [Jelly] Parallel arrays and array access Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi. Sorry if this is a newbie question, but I can't find it on the mailing lists or anywhere. I'm using Jelly within Maven, and I'm trying to access elements in two parallel arrays. My script looks something like this: ${foo.names} ${foo.classes} name = ${name}, class = ${classes}[${i}] Obviously, the second part of my ant:echo line doesn't work, but my questions are: 1) How do you access an item in an array in Jelly - I can't seem to find anything that says what the syntax is 2) Is this the best way to handle parallel arrays in Jelly? Thanks. -Jack --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org