> Be curious if there are any comments. Great! Many users have asked for such a feature, for example when a string comes from a DB or internationalized templates, etc.
In the past I solved this using a nicely wrapped tool, which does exactly the same: #macro( evaluate $param )$renderTool.eval($param)#end Does your #evaluate directive implementation do some AST caching of the string for performance improvement? Most languages have such an "eval"-Functionality and therefore there is no reason for Velocity missing it. Maybe Ahmed did not manage to advocate Velocity to some more projects, because the decision makers missed some handy features ;) But I do agree with Ahmed on #5: 5. Better and simpler whitespace control for the output. Cheers, Christoph P.S. It is like my other handy macro: #macro( call $dummy )if($dummy)#end#end --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
