I am trying to get a zero-based counter in a Velocity #foreach directive.
#foreach
if i use:
#foreach ($item in $list) item.getName() : $veloc
According to the doc, you can specify:
directive.foreach.counter.initial.value = 0
In velocity.properties file.