8 Sep
1999
8 Sep
'99
3:02 p.m.
Arnaud Lecat wrote:
How come that a simple test <dtml-if "mydocid==id">blah blah</dtml-if> isn't true whereas the values seem to be the same (mydocid and id seems to contain the same string)....
One or the other (or both) may not be strings, but rather methods/functions which *return* a string. The cases are indistinguishable with <dtml-var v> and <dtml-var "_['v']">, but require <dtml-if "mydocid==id()"> if 'id' is a function.