10 Feb
2003
10 Feb
'03
7:34 p.m.
ilflaminio@virgilio.it wrote at 2003-2-10 10:35 +0100:
... In B I have a dtml method "getTitle", with the line <dtml-var title>. If I use the url /B/A/getTitle it returns 'A', and this is OK. But if I have a method in the root with the line <dtml-var "B.A.getTitle()"> I have a keyerror (title parameter). Why with the syntax B.A.getTitle() the method getTitle() doesn't acquire by A?
I see, you did not read "Calling DTML objects" in <http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html> Do it! Your problem has nothing to do with acquisition but with calling a DTML object without required parameters... Dieter