velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Dekany <>
Subject Re: Clean way to iterate over a distinct set of items?
Date Wed, 05 Oct 2005 14:24:32 GMT
Monday, October 3, 2005, 10:04:34 PM, Mike Kienenberger wrote:

> Yes, the problem is that I don't have access to the context in this
> situation, only to the template.  I needed a 100% VTL solution since I
> couldn't add anything to the context.

That's an ugly situation. An "MVC" template language can't be used alone
for generating pages. It's only works in pair with the "action" or
whatever you call the part that calculates the stuff to display.
Otherwise the whole point of it, the separation, lost...

Best regards,
 Daniel Dekany

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message