[Zope-dev] _delObject Method
Brian Lloyd
Brian@digicool.com
Mon, 10 Jul 2000 09:50:20 -0400
> Can anybody tell me, what the 'dp=1' attribute in the
> _delObject methods of
> the ObjectManager (OFS/ObjectManager.py) and ZClassMethodsSheet
> (ZClasses/Method.py) Class are for?
> I haven't found any method call, where dp is set and the
> methods themselves
> don't use it aswell.
>
> I would like to use it as a switch for (not) calling the
> manage_beforeDelete
> method, when the _delObject method is called by
> CopySupport.manage_renameObject and
> CopySupport.manage_pasteObject. In these
> cases, manage_beforeDelete would not be called. To me that seems to be
> correct, because during a cut-paste and a rename operation
> the Objects are
> not really deleted, they are just temporarily taken out of
> the object-tree
> and then inserted again.
> Are there any problems with that?
Gregor -
I think that what you are talking about is already
implemented for 2.2...
Brian Lloyd brian@digicool.com
Software Engineer 540.371.6909
Digital Creations http://www.digicool.com