Lots of examples here:
http://velocity.apache.org/engine/releases/velocity-1.5/user-guide.html
Eg.
<table>
#foreach( $idx in [1..3])
<tr><td>$idx</td></tr>
#end
</table>
On Dec 13, 2:56 pm, jake <[email protected]> wrote:
> I've been looking around for a way to do a vanilla for loop in
> Nvelocity without macros. I just want to repeat an element in html n
> number of times. Any idea? Even if it does require a macro can
> someone help me out.
>
> Thanks,
> Jake
--
You received this message because you are subscribed to the Google Groups
"Castle Project Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/castle-project-users?hl=en.