velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claude Brisson <cla...@renegat.net>
Subject Re: Simple question regarding including double quotes in #set
Date Wed, 18 Oct 2006 08:21:14 GMT
Try this:

#set($q = '"')

#set($keywords = '<meta name=${q}keywords${q} content=${q}information,
xyz, something, $person.name, $person.address${q}/>')


 Claude

Le mercredi 18 octobre 2006 à 13:37 +0530, Manish a écrit :
> 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