You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by jAddressBook Administrator <ja...@gmail.com> on 2008/03/12 02:50:19 UTC

How to access a single element of an array in Velocity

A way like 
#foreach( $foo in [1..1] ) $foo #end

#foreach( $foo in [2..2] ) $foo #end

looks weird