Hi guys,
Does anyone have any clue why the scenario described in screenshot happens?
Solved! Go to Solution.
Found the problem:
to check for null in velocity, dont use
${variable} == ''
this wont work either
${variable} == 'null'
or any combination of quotes and what have you. What does work is a simple if:
#if ($variable)
... do stuff here if the variable is not null
#end
Cheers!
Found the problem:
to check for null in velocity, dont use
${variable} == ''
this wont work either
${variable} == 'null'
or any combination of quotes and what have you. What does work is a simple if:
#if ($variable)
... do stuff here if the variable is not null
#end
Cheers!