Does someone have a clue on what the problem is?
Every time a use VMs, Velocity stops making sense.
Sorry, but I get so many weird things that I can
only describe it this way.
Example:
Having the macro:
#macro (mymacro $cn $cv)
#if($cv)
<tr><td>$cn mm</td><td>$cv</td></tr>
#end
#end
and
#mymacro($somevar $emptyVar)
something gets written all the time, even if the
$emptyVar is really "empty".
In the past I already got to see that there seems
to exist some wrapper to the parameter variables
that is not invisible at all (such wrapper should
let us see trough) and messes up this kind of test.
Also, sometimes code in macros seems to become
"persistent" (I change the template but the bit of
formatting from inside the macro remains the same.
Does anyone have any pointers on this stuff?
Any clues?
Any advise on where I should start trying to fix this?
Does downloading the last version solve it all?
(wishful thinking!)
Sorry about the sarcastic mood, but I already spent
too much time with this. I am willing to turn by
agressivity into solving this, but pleaaaase give
me a clue. (I don't even know if I have to start
learning JavaCC or if I can still void that.)
Thanks and have fun,
Paulo Gaspar