Velocity Templates

2006-07-10 Thread Thoralf Rickert
commands like #if and #end. We've the same problem in one of our projects where we use velocity templates to render XHTML pages. There I made a small patch in our VelocityTemplateLoader to generate better code. Here is an example of a template: public void helloWorld() { #if($useLog

AW: Velocity Templates

2006-07-10 Thread Thoralf Rickert
: Re: Velocity Templates Hi, The spaces in front of the velocity commands exist because it makes the templates themselves readable. I'd put more emphasis on keeping the templates readable than the generated code, so I'd rather leave the spaces where they are. Thomas Thoralf

AW: Velocity Templates

2006-07-10 Thread Thomas Fischer
. They will be changed virtually during loading into the velocity renderer in a stream. -Ursprüngliche Nachricht- Von: Thomas Fischer [mailto:[EMAIL PROTECTED] Gesendet: Montag, 10. Juli 2006 10:17 An: Apache Torque Developers List Betreff: Re: Velocity Templates Hi

AW: Velocity Templates

2006-07-10 Thread Thoralf Rickert
Nachricht- Von: Thomas Fischer [mailto:[EMAIL PROTECTED] Gesendet: Montag, 10. Juli 2006 10:17 An: Apache Torque Developers List Betreff: Re: Velocity Templates Hi, The spaces in front of the velocity commands exist because it makes the templates themselves readable. I'd