28 Sep
2000
28 Sep
'00
12:17 p.m.
seb wrote:
Ahh, now I understand...
If you do <dtml-var "_['sequence-item']">, it'll get called (real bitch of mine, that one :-( ) And, apparently, if you do <dtml-let thing=sequence-item>, it'll get called....
Are the above two points bugs, then?
Probably not...
Or is there a legitimate reason for this behaviour?
illegitimate in that it makes some things easier, like showing an object when you don't know whether it's a function or a string (as with id, as ChrisM pointed out ;-) but bastardising python syntax to your own ends is probably a bad thing :-S cheers, Chris