[ 
https://issues.apache.org/jira/browse/VELOCITY-287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Henning Schmiedehausen closed VELOCITY-287.
-------------------------------------------


> escapping when { used doesn't work
> ----------------------------------
>
>                 Key: VELOCITY-287
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-287
>             Project: Velocity
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: 1.4
>         Environment: Operating System: Linux
> Platform: PC
>            Reporter: Igor Seletskiy
>         Assigned To: Velocity-Dev List
>
> I am trying to escape
> \${request.$var.name}
> $var.name is defined.
> The system fails with then error:
> Exception in thread "main" org.apache.velocity.exception.ParseErrorException:
> Encountered "." at line 14, column 39.
> Was expecting one of:
>     "}" ...
>     <DOT> ...
>     
>       at org.apache.velocity.Template.process(Template.java:141)
> where column 39 is . after the request
> The desired result is:
> ${result.xyz}
> where $var.name is set too xyz

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to