Hi Dirksen,
Are you deleting a Rack? or an instance of a DataSkin that
is managed by a Rack?
-steve
> "Dirksen" == Dirksen <[EMAIL PROTECTED]> writes:
Dirksen> Hi Steve,
Dirksen> Well, if my rack object is stored persistently, I guess
Dirksen> no skinscript would get fired,
Hi Steve,
Well, if my rack object is stored persistently, I guess no skinscript would get fired,
am
I right? In that case, I need to override manage_delete, and call it in this statement:
Zope complains NameError of PortalMember. If I changed to:
Zope refuses the upload of the dtml method
Hi Steve,
Well, if my rack object is stored persistently, I guess no skinscript would get fired,
am
I right? In that case, I need to override manage_delete, and call it in this statement:
Zope complains NameError of PortalMember. If I changed to:
Zope refuses the upload of the dtml method
Hi Dirksen,
In python you would normally do:
super_class_object.manage_delete(self)
but it might be easier/better in the case of a DataSkin
to use a SkinScript 'WHEN OBJECT DELETED xxx '.
-steve
> "Dirksen" == Dirksen <[EMAIL PROTECTED]> writes:
Dirksen> I have a ZCla
I have a ZClass 'stuff' which is a subclass of DataSkin. 'stuff' overrides
'manage_delete' method, so as to do some extra clean-up jobs. After that, it will call
its ancestor's 'manage_delete' method to wipe itself off. In java, you can do this by
calling 'super.manage_delete()', but how to do it