[Zope] how to call dtml method from python product and pass it namespace

Itamar Shtull-Trauring itamars@ibm.net
Thu, 27 Apr 2000 12:58:56 +0300


Roman Milner wrote:
> 
> Hello.  From inside a python product I need to call a dtml method.
> When I call it, that dtml method can't find anything else in the
> folder.  So - how can I pass it _ or whatever is needs so that it can
> find everything else in the folder? I tried passing it _, and passing
> it _=self, and various other things to no avail.

	aDTMLMethod(None, REQUEST)

or more likely in your case:

	aDTMLMethod(self, REQUEST)

What's the difference?  Not sure.

-- 
Itamar S.T.  itamars@ibm.net