You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by bluejoe <bl...@sdb.cnic.cn> on 2008/11/17 07:41:03 UTC

is it possible to replace the magic character '$' with others?

Dear All,
  
    I use Velocity in my project to support users to customize web interface by writing scripts in VTL, then I have a question: Can I using other characte such as '@', instead of the magic character '$' in my template file?

    Thanks! :)

bluejoe
2008-11-17

Re: is it possible to replace the magic character '$' with others?

Posted by Nathan Bubna <nb...@gmail.com>.
There's no way to simply configure the syntax at that level, but you
could just take the source, do a search and replace, then rebuild the
jar.

On Sun, Nov 16, 2008 at 10:41 PM, bluejoe <bl...@sdb.cnic.cn> wrote:
> Dear All,
>
>    I use Velocity in my project to support users to customize web interface by writing scripts in VTL, then I have a question: Can I using other characte such as '@', instead of the magic character '$' in my template file?
>
>    Thanks! :)
>
> bluejoe
> 2008-11-17

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org