Re: [Zope] How to call ancestral method in ZClass method?

2001-01-07 Thread Dirksen
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: dtml-call "PortalMember.manage_delete()" Zope complains NameError of PortalMember. If I changed to:

Re: [Zope] How to call ancestral method in ZClass method?

2001-01-07 Thread Dirksen
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: dtml-call "PortalMember.manage_delete()" Zope complains NameError of PortalMember. If I changed to:

Re: [Zope] How to call ancestral method in ZClass method?

2001-01-07 Thread Steve Spicklemire
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, am I

Re: [Zope] How to call ancestral method in ZClass method?

2001-01-05 Thread Steve Spicklemire
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 ZClass