velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Assia Aouat" <as...@canada.sirsi.com>
Subject RE: reading an array's length?
Date Fri, 18 Mar 2005 15:36:44 GMT

Try this : 

$mayArray.size()


-----Original Message-----
From: Steve O'Hara [mailto:sohara@pivotal-solutions.co.uk] 
Sent: Friday, March 18, 2005 10:42 AM
To: Velocity Users List
Subject: RE: reading an array's length?


Velocity isn't too great at referencing arrays but there is a tool to
help
here;

http://wiki.apache.org/jakarta-velocity/ArrayTool

Steve

-----Original Message-----
From: Christofer 'boz' Jennings [mailto:boz@cox.net]
Sent: 18 March 2005 15:07
To: velocity-user@jakarta.apache.org
Subject: reading an array's length?


I want to get an array's length wit VTL, but $mayArray.length doesn't
work. How s it done?

Thanks!
,boz


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




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

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


Mime
View raw message