October 2009
3 posts
3 tags
4 tags
Apache Velocity 1.6 Nested Loop Bug
I have just spent two hours of my evening trying to figure out an issue I had with Apache Velocity 1.6.
If you are using the #foreach loop, make sure that you are looping at only one level.
It seems that using nested #foreach on the same variable does not work with Apache Velocity 1.6.
For example:
#foreach ($item in $list)
#foreach ($item in $list)
#end
#end
will not work in 1.6. The...
4 tags