I would like to use org.apache.velocity.tools.generic.ListTool in a
template in Roller. The reason for this is that I need to recognise
the last <li> in an <ul/> and get the impression that the only way to
do this is the test #if( $velocityCount == $list.size($someArray))...
in a #forEach loop.
I have found plenty of documentation at Apache about how to do this
with VelocityView, but I can't relate this to Roller. Can anyone
point me at a description of how to extend Roller with generic tools
from Velocity, please? Or am I barking up the wrong tree?
Steve
- using ListTool in Roller templates Stephen Winnall
-