velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Kienenberger <mkien...@alaska.net>
Subject Re: reading an array's length?
Date Fri, 18 Mar 2005 16:07:30 GMT
Christofer 'boz' Jennings <boz@cox.net> wrote:
> Is there a binary for ArrayTool somewhere or do I just build it?
> 
> And how would it get configured programmatically (eg. 
> velocity.setProperty())?

It's included with the latest (cvs) Velocity tools, I think.

It's also available on the Velocity Wiki.

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

It's easy enough to just add it to your project as another java file (that's 
what I'd do).

To use it, either configure it via toolbox.xml (if you're using that) or 
just do a velocityContext.put("arrayTool", new ArrayTool());

---------------------------------------------------------------------
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