arguments for DTML objects forgotten (was: [Zope] "global name 'REQUEST' is not defined")

Dieter Maurer dieter@handshake.de
Mon, 11 Feb 2002 22:19:24 +0100


Joseph A Knapka writes:

... passing arguments to DTML objects is a *MUST*! ...

 > Ah, now I understand. If I want to pass *any* arguments to
 > the method, I must also explicitly pass REQUEST. But if
 > I call the method without arguments, it will magically
 > be passed the caller's REQUEST.
Please read the section "Calling DTML objects" in

  <http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html>

You will find out that your description is not completely true
(but near the truth).


Dieter