[Zope] Help! Python?

Martijn Pieters mj@digicool.com
Mon, 6 Mar 2000 20:31:43 +0100


From: "Tom Deprez" <tom.deprez@uz.kuleuven.ac.be>
> Hi,
>
> I'm still strugling with the manage_afterAdd method.
> Since Zope always tells -at the line CatalogAware.manage_afterAdd- the
> object CatalogAware doesn't exists, I'm now trying to import the
> CatalogAwareness.py file. So far, so good, it now imports the
> CatalogAwareness file. However, I still get this stupid message the object
> CatalogAware doesn't exists, etc...
>
> This is driving me crazy!

If I am understanding you correctly, you should have a look at Loren
Stafford's ZScheduler. Download it from Zope.org, and look at the code for
the ZEvents. They are catalog aware, and override manage_afterAdd, then call
the superclass method.

Martijn Pieters
| Software Engineer    mailto:mj@digicool.com
| Digital Creations  http://www.digicool.com/
| Creators of Zope       http://www.zope.org/
|   The Open Source Web Application Server
---------------------------------------------