Re: [Jelly] Escaping variables

2010-01-05 Thread Oliver Heger

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:


Welcome ${user.name} to Jelly!


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-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org



Re: [Jelly] Escaping variables

2010-01-04 Thread 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


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:



 Welcome ${user.name} to Jelly!


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.




smime.p7s
Description: S/MIME cryptographic signature


[Jelly] Escaping variables

2010-01-04 Thread Oliver Heger

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:



  Welcome ${user.name} to Jelly!


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-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org