DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=28528>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28528 Escaping in form of "$\!{foo}" does not work Summary: Escaping in form of "$\!{foo}" does not work Product: Velocity Version: 1.4 Platform: PC URL: http://jakarta.apache.org/velocity/user- guide.html#Advanced%20Issues:%20Escaping%20and%20! OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Source AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Below are the results of executing app_example1 with a modified "example.vm" file. The content of the example.vm is a copy-paste from Velocity User’s Guide (see the URL). Note that "$\!{foo}" was rendered to "$!{", instead of "$!{foo}" as expected: D:\dev\velocity-1.4\examples\app_example1>type example.vm #set( $foo = "bar" ) $\!foo $\!{foo} $\\!foo $\\\!foo D:\dev\velocity-1.4\examples\app_example1>example Using classpath: .;..\..\bin\velocity-1.4.jar;..\..\bin\velocity-dep-1.4.jar $!foo $!{ $\!foo $\\!foo D:\dev\velocity-1.4\examples\app_example1> Surprisingly, I could really use this feature :) as I want to evaluate my template in two steps: cache the result of the first generic step and then reuse it to generate various final messages. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
