I have tried
#set($n = 2)
#set($range = "[1..$n]")
#foreach($i in $range)
as well Velocity 1.7 fails when it reaches the range variable in the #foreach directive.

Is there a way to accomplish what I am trying to do, (a variable count loop) in velocity?

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

Reply via email to