9 Mar
2004
9 Mar
'04
10:06 a.m.
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