You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Henning Schmiedehausen (JIRA)" <de...@velocity.apache.org> on 2007/03/08 01:10:42 UTC

[jira] Closed: (VELOCITY-287) escapping when { used doesn't work

     [ 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: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org