Looks like set does not work in velocity when written as below :
#set (${modifier} = "some")
It works if I do #set ($modifier = "some")
. Any reason for this?
EDIT : It doesn't work means no variable is set.
Looks like set does not work in velocity when written as below :
#set (${modifier} = "some")
It works if I do #set ($modifier = "some")
. Any reason for this?
EDIT : It doesn't work means no variable is set.
It is because ${varname} is not a valid variablename in velocity as defined in the reference manual
I am also often confused on these seemingly random syntax changes.