velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glenn Holmer <ghol...@weycogroup.com>
Subject Re: arrays
Date Tue, 24 Jun 2008 19:22:18 GMT
On Tue, 2008-06-24 at 14:10 -0500, Glenn Holmer wrote:
> Haven't worked with Velocity for a little bit... how do you get the nth
> element of an array (not a Collection)?

got it...

http://velocity.apache.org/tools/releases/1.4/javadoc/org/apache/velocity/tools/generic/ListTool.html

#if ($list.get($redLightGreenLight, $velocityCount) >= 5)

-- 
____________________________________________________________
Glenn Holmer                          gholmer@weycogroup.com
Software Engineer                        phone: 414-908-1809
Weyco Group, Inc.                          fax: 414-908-1601




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


Mime
View raw message