hello velocity user list,

from the 1.7 release on we can not change the value of the original reference of a macro argument anymore.

this is the change log description:
Calling #set on a macro argument (for which a #set-able reference was passed) will no longer propagate the new value to the original reference, but merely set the value of the macro argument reference. This was an obscure, infrequently used feature and was decided to be more problematic and unpredictable than useful.

so, is there still a way to change the value of the original reference if I want to? any workaround?
my knowledge of velocity is limited. I have read this one:
http://wiki.apache.org/velocity/MacroEvaluationStrategy
but I still did not manage to change the value.

any help/example is very much appreciated!!
regards, Andreas




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to