velocity-user  

Define Arraylist

rjain
Fri, 10 Nov 2006 06:44:16 -0800

How do I define a new arraylist and add items to the arraylist in Velocity

I am looking at something 

#set( $myArray = [""] ) ## Empty ArrayList
$myArray.put("Item 1")
$myArray.put("Item 2")

regards
Rajesh

-- 
View this message in context: 
http://www.nabble.com/Define-Arraylist-tf2608110.html#a7278200
Sent from the Velocity - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]