velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject More control in foreach
Date Mon, 12 Feb 2001 19:17:06 GMT
One of the things I want to do is pageination – every site I've built 
needs this. One way to implement is to cache a big array server side and 
just display relavent parts from it. It would be nice if the #foreach 
macro was more like a regular for, where you can define the start and end 

And really nice would be a #Break to get out of the #foreach.

I suspect that we can create our own macros? To do such things?

Mike Papper

View raw message