velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: problem parsing references in Velocity
Date Tue, 10 Jun 2008 13:56:42 GMT
andyandy,

andyandy wrote:
> 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

Can you give some sample data and expected output? I'm not entirely sure 
what you want to accomplish, here.

-chris


Mime
View raw message