[Zope-dev] Calling DTML methods from Python

Anthony Pfrunder s341625@student.uq.edu.au
Wed, 24 Nov 1999 22:17:49 +1000 (GMT+1000)


On Wed, 24 Nov 1999, Martijn Pieters wrote:

> At 12:32 PM 11/24/99 , Itamar Shtull-Trauring wrote:
> Quick guess (untested):
> 
>    request = self.manage_tabs(self, _)
> 
> The first parameter is the client object, a DTML Method's 'self'.

Hmm,

But the filter list isn't hanging off self so that won't work.  Check out
the source at lib/python/App/manage_tabs.dtml.  The filter is some global
meta-dictionary thing that is defined elsewhere.

Cheers,

Anthony Pfrunder