velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua.L...@reasoning.com
Subject RE: Is there a way to tell when iterating in #foreach if you have com e to the last element.
Date Fri, 06 Sep 2002 16:12:54 GMT
> Maybe the velocity team can plug in a  
> $hasNext = true|false
> as it already maintains a loop $velocityCount variable.

If you do this, then I vote for $velocityHasNext or something
else which minimizes the namespace confusion.  With velocity,
you are already dealing with the Java namespace, and the 
velocity macro/variable namespace.  It would be nice if all
the velocity created variables had related names.

Joshua Levy 


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


Mime
View raw message