[Zope-dev] pre-export and post-import hooks.

Dieter Maurer dieter at handshake.de
Mon Aug 11 21:30:25 EDT 2003


Romain Slootmaekers wrote at 2003-8-11 13:44 +0200:
 > I have an object for which I'd like to have pre-export and post 
 > import-hooks.
 > 
 > After some code browsing, I found the ObjectManager api with
 > the manage_exportObject method.
 > 
 > overwriting this for the export looks good, but the problem is that this 
 > only works when called directly on the object, and not when you export a 
 > container of the object in question.
 > 
 > Is there an easy solution to this problem ?

I do not think so.

The APE code (one of Shanes famous products) may show you how to
proceed, when you really need it.


Dieter



More information about the Zope-Dev mailing list