Hi, there is a #literal()...#end directive for this in newer Velocity versions. See: http://velocity.apache.org/engine/releases/velocity-1.6.1/user-guide.html#stringliterals
Hope this helps, Christoph bluejoe wrote: > In Velocity template, is there any way to print a block of text without any > rendering? For exmaple, I want to process such text as below: > > <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< > hello, $user.name! > > #noparse > > This text is formatted > exactly > as > it > is > typed. > > using $user.name to get current user's name. > > #end > > when be rendered, I expect it looks like: > > <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< > hello, bluejoe! > > This text is formatted > exactly > as > it > is > typed. > > using $user.name to get current user's name. > > > Is there any directives in VTL? I need your help. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
