[Zope] Object reload event?

Chris Withers lists at simplistix.co.uk
Tue Mar 9 05:06:43 EST 2004


Dylan Jay wrote:

> I have an object that uses manage_afterAdd to install several subobjects.
> When this object is refreshed or zope is started I want to have a method run
> on each instance of that object to ensure these subobjects are still there
> and are of the right type. How do I do this?

Hmmm... __setstate__ hook on your product's class.

Deep voodoo, you probably want to find another way to do this...

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk




More information about the Zope mailing list