[Zope] Re: Calling a DTML Method from within an External Method

Dieter Maurer dieter@handshake.de
Sun, 25 Nov 2001 19:37:12 +0100


Chris McDonough writes:
 > Yup... try this from inside an external method:
 > 
 >   return self.dtml_method_name(None, self.REQUEST, arg1='foo',
 > arg2='bar')
Usually, it is better to pass "self" instead on "None".

This will be necessary, when the DTML Method needs access to any
Zope object (and not only REQUEST variables).


Dieter