Re: Problem with null in velocity template

2005-03-21 Thread Tarun Narang
hi barbara u can use $!project instead of using $project if this variable has a null value. Regards Ktarun - Original Message - From: "Barbara Baughman" <[EMAIL PROTECTED]> To: "Velocity Users List" Sent: Saturday, March 19, 2005 12:24 AM Subject: Re: Pro

RE: Problem with null in velocity template

2005-03-20 Thread Tanveer Dhillon
use the variable as $!sign ur problem will be removed -Original Message- From: Madasu, Satya K. [mailto:[EMAIL PROTECTED] Sent: Friday, March 18, 2005 10:47 PM To: 'velocity-user@jakarta.apache.org' Subject: Problem with null in velocity template Hi, If I have a null va

Re: Problem with null in velocity template

2005-03-18 Thread Barbara Baughman
Read the User's Guide, under Quiet Reference Notation. Barbara Baughman X2157 On Fri, 18 Mar 2005, Madasu, Satya K. wrote: > Hi, > > If I have a null value to the variable then the script is displaying as is > with the $ sign on the web page. > > How to overcome this problem? Please let me know.

Problem with null in velocity template

2005-03-18 Thread Madasu, Satya K.
Hi, If I have a null value to the variable then the script is displaying as is with the $ sign on the web page. How to overcome this problem? Please let me know. We are using $project $name to render this. When I passed in null for project and velocity for name then the result is We are using