24 Sep
2001
24 Sep
'01
7:27 p.m.
Oliver Bleutgen writes:
I just ran into something which might be a surprising side effect of dtml-if - well, for me at least. Tried it on two different zope 2.3.3 installs.
Here's the problem
dtml-method foo should be changed, but it might not exist, so we test it
<dtml-if foo> <dtml-call "foo.manage_edit('bar','')"> </dtml-if>
Surprisingly this gives the following error Error Type: AttributeError Error Value: 'string' object has no attribute 'manage_edit' You find an explanation in
<http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html> -> DTML -> If. Dieter