Hi All,
Can we compare null condition in velocity
# if ($type != null)
#end
Thanks
Sashi
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi All,
I am writing some data to file using Templet..
fileName = C:/cs_db.xml;
BufferedWriter writer = new BufferedWriter(
new FileWriter(fileName));
if ( template != null)
Hi All,
I am trying to use add functionality with external data
#set ( $value = $templet.getLongValue() )
suppose now $value has value of 1
#set ( $value = $value + 1 )
Still the total shows 1. Actually its not adding value . Here
$templet.getLongValue() returns a long
Hi All,
I am trying to use add functionality with external data
#set ( $value = $templet.getLongValue() )
suppose now $value has value of 1
#set ( $value = $value + 1 )
Still the total shows 1. Actually its not adding value . Here
$templet.getLongValue() returns a long
Hi All,
I am creating a XML file using template. I am able to write the file record
by record
but the requirement is to write all the records one after one with giving
new line
example code
$template.getStrValue($header)
#set( $count = $count + 1 )
$count
...