velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manish" <prol...@gmx.net>
Subject Re: Simple question regarding including double quotes in #set
Date Wed, 18 Oct 2006 08:21:45 GMT
Never mind - I got this working!

 #set($keywords = $render.eval('<meta name="keywords" content="information, xyz, 
something,  $person.name, $person.address"/>'))

- Manish


----- Original Message ----- 
From: "Manish" <prolist@gmx.net>
To: "Velocity Users List" <velocity-user@jakarta.apache.org>
Sent: Wednesday, October 18, 2006 1:37 PM
Subject: Simple question regarding including double quotes in #set


> How do I include double quotes in the #set variables? This is what I am trying 
> to get working, note that including this in single quotes won't render some 
> variable values that I want.
>
> #set($keywords = '<meta name="keywords" content="information, xyz, something, 
> $person.name, $person.address"/>')
>
> TIA,
> - Manish
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
> 



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


Mime
View raw message