14 Feb
2002
14 Feb
'02
9:26 p.m.
John Hunter writes:
... DTML object "listPatient" ... <dtml-call expr="listPatient( 'pid=%s' % <dtml-var pid>)" > You already have been told to use "pid" rather than "<dtml-var pid>".
Please also read the section "Calling DTML objects" in <http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html> Otherwise, I expect, you will get "NameError" or "KeyError" exceptions from "listPatient" because called the way it is above, it has not context and cannot find surrounding Zope objects... Dieter