velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shinobu Kawai <shinobu.ka...@gmail.com>
Subject Re: counting in velocity
Date Tue, 17 May 2005 22:55:40 GMT
Hi erik,

> i'm trying to implement a counter in velocity. i have no idea how to do it:
> 
> in java i would use a for-loop.
> 
> for(int i = 1; i < 10; i++)
> {
>        ....
> }
> 
> this seems a very easy problem to me, isn't it?

Check out the Range Operator:
  http://jakarta.apache.org/velocity/user-guide.html#Range%20Operator

Best regards,
-- Shinobu

--
Shinobu Kawai <shinobu.kawai@gmail.com>

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message