Hi Shinobu,
thanks for your advice! I don't know by now which way I will choose
but your suggestions sound good.
Best regards,
Katrin
On 6/3/05, Shinobu Kawai <[EMAIL PROTECTED]> wrote:
> 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]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]