https://stackoverflow.com/questions/3798908
题
我正在使用 nvelocity 从城堡项目和根据 速度规格 我应该能够这样访问循环计数器:
$foreach.counter
但是我无法使它工作,所以我怀疑它没有在nvelocity中实施。
谁能确认这一点?
解决方案
是的,它已实现,但称为 $velocityCount
$velocityCount