velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andyandy <lacaraque...@yahoo.com>
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})"
#end
#if ($b!="")
 #set "${all}escape(${b})"
#end
#if ($c!="")
 #set "${all}escape(${c})"
#end

$all

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: http://www.nabble.com/problem-parsing-references-in-Velocity-tp17741235p17741235.html
Sent from the Velocity - User mailing list archive at Nabble.com.


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


Mime
View raw message