velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andyandy <>
Subject problem parsing references in Velocity
Date Mon, 09 Jun 2008 20:29:42 GMT

Hello. I want to do the following:

#if ($a!="")
 #set "${all}escape(${a})"
#if ($b!="")
 #set "${all}escape(${b})"
#if ($c!="")
 #set "${all}escape(${c})"


That's moreless the code. The problem is that when I see the value of "all",
the "escapes" are visible, and I don't want this. I think it's because I'm
storing the value in a reference, but I don't know if this is possible to
get the escaped strings. Must be, though! Thanks in advance.
View this message in context:
Sent from the Velocity - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message