velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Kienenberger <>
Subject Re: reading an array's length?
Date Fri, 18 Mar 2005 16:07:30 GMT
Christofer 'boz' Jennings <> 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.

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:
For additional commands, e-mail:

View raw message