How can I compare 'null' in my velocity template for if condition???
The following results in an error.
#if(null == $p.getDisplayaddressbool()){
}
TIA,
- Manish
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
( $displayAddr = false )
Kalyani
-Original Message-
From: Manish [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 06, 2004 12:24 PM
To: Velocity Users List
Subject: Compare null
How can I compare 'null' in my velocity template for if condition???
The following results in an error.
#if(null
Subject: Re: Compare null
Manish said:
How can I compare 'null' in my velocity template for if condition???
The following results in an error.
#if(null == $p.getDisplayaddressbool()){
}
you're confusing java with VTL. VTL has no null keyword or token. (though
it
was discussed favorably
: Wednesday, October 06, 2004 12:43 PM
Subject: Re: Compare null
Manish said:
How can I compare 'null' in my velocity template for if condition???
The following results in an error.
#if(null == $p.getDisplayaddressbool()){
}
you're confusing java with VTL. VTL has no null