Hi Katrin,

> nope,
> context.put("KEY$","value");
> isn't working (it's not identifying the whole key):
> 
> and I can't swap to
> sometext $KEY sometext
> because of other requirements of the project.

I can think of two solutions.

1. Don't use Velocity.
Looks like you're not dealing with a Velocity template.  You might be
better off using other technologies, such as regular expressions.
  http://jakarta.apache.org/oro/index.html
  http://java.sun.com/j2se/1.5.0/docs/api/java/util/regex/package-summary.html

2. Hack Velocity.
You'll have to change the parser behaviour to achieve what you want. 
Take a look at this article for some starter information:
  http://wiki.apache.org/jakarta-velocity/HackingVelocity

Best regards,
-- Shinobu

--
Shinobu Kawai <[EMAIL PROTECTED]>

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

Reply via email to