Hi Ricardo,
You are using the curly braces incorrectly. A normal velocity reference looks like this: $reference You can optionally wrap the name in braces like this: ${reference} If you want to use the silent mode place the ! After the $, like this: $!{referece} Velocity won't know what to think of: $c1{name} Because it parses $c1 at the reference, not {name} Hope this helps. Evan -----Original Message----- From: Ricardo [mailto:[EMAIL PROTECTED] Sent: Thursday, March 31, 2005 1:10 PM To: velocity-user@jakarta.apache.org Subject: help - text within { } is not rendered by the engine Hi,I decided to post this question one more time in case this time someone has an answer to this problem. I am using velocity 1.4. I am having problems when rendering text that is enclosed within { }. Here's my velocity template:Hello $name! Welcome to Velocity!$c1{name}$c2{phone}Here's the output I get:Hello John! Welcome to Velocity!$c1{$c2{$name is a velocity reference. $c1 and $c2 are not velocity references. So, what I was expecting to get in the generated document is the following:Hello John! Welcome to Velocity!$c1{name}$c2{phone}As shown above, I am not expecting velocity to make any changes to the $c1 and $c2 lines. However, the engine is removing the text after the '{' character. Any ideas on what is wrong with my template? Thanks. _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]