You can use the #foreach directive and the range operator with something
like this. Gmail code so probably not fully correct.

#foreach($i in [0..9])
    <element />
#end

On Sun, Dec 13, 2009 at 1: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]<castle-project-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/castle-project-users?hl=en.
>
>
>


-- 
Jono

--

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.


Reply via email to