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 Re: [Jelly] Escaping variables
Date Tue, 05 Jan 2010 20:44:23 GMT
Am 05.01.2010 06:29, schrieb Paul Libbrecht:
> Oliver,
>
> an answer for you on:
> http://commons.apache.org/jelly/faq.html #escapingJexl
> the answer says to use double dollar signs.
> paul

Many thanks, Paul! This works pretty well now!
Oliver

>
>
> Le 04-janv.-10 à 22:35, Oliver Heger a écrit :
>
>> 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.
>


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


Mime
View raw message