[Zope] defining a method from a ZClass

Petru Paler ppetru@bv.ro
Tue, 22 Jun 1999 06:49:36 +0300


On Mon, Jun 21, 1999 at 03:46:43PM -0400, Michel Pelletier wrote:

> >    How can I hook a method from a ZClass to its parent folder ?
> > 
> 
> Could you be more specific in what this means?

   Yes (sorry...). I build a ZClass in a product (named for example
ZThing) and I want that one of its methods (get_thing) to be "hooked" to its
parent folder, so that in a DTML method I can write
<dtml-var get_thing>
instead of
<dtml-var ZThing.get_thing>

Is this possible ?

-Petru