Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Castle 项目中的NVelocity,根据速度规格,我应该能够像这样访问循环计数器:
$foreach.counter
但我无法让它工作,所以我怀疑它还没有在 NVelocity 中实现。
谁能证实这一点?
是的,它已经实现了,但是它被称为$velocityCount
$velocityCount