[Zope] Argument passing and DTMLFile methods

Dieter Maurer dieter@handshake.de
Sun, 30 Jun 2002 23:59:22 +0200


Terry Hancock writes:
 > ....
 > EXCEPT... :-(
 > 
 > This only works if I use *implicit* dtml-var substitutions,
 > like:
 > 
 > <dtml-var mydtml_submethod>
 > 
 > If I try to use the explicit form mentioned above,
 > 
 > <dtml-var expr="mydtml_submethod(_.None, _)">
 > 
 > I lose my context!
In a Python method context, this looks like

	    mydtml_submethod(self,self.REQUEST, keyword_parameters)


Dieter