Solved
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
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!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.