commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Heger <oliver.he...@oliver-heger.de>
Subject [Jelly] Escaping variables
Date Mon, 04 Jan 2010 21:35:18 GMT
Hi,

I could not find the answer to the following question:

Jelly tags per default evaluate variables which appear in their body as 
in the example shown in the overview page:

<document time="${now}">
   Welcome ${user.name} to Jelly!
</document>

How can I quote or escape the variable so that actually the text 
"${user.name}" is passed to the tag? With other words: I want to prevent 
that the variable is replaced.

Thanks
Oliver

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


Mime
View raw message