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:
<dtml-call "_ZClass_for_DataSkin.manage_delete()">
Zope refuses the upload of the dtml method all together!
Any clues?
Dirksen
--- Steve Spicklemire <[EMAIL PROTECTED]> wrote:
>
> 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 'stuff' which is a subclass of
> Dirksen> DataSkin. 'stuff' overrides 'manage_delete' method, so as
> Dirksen> to do some extra clean-up jobs. After that, it will call
> Dirksen> its ancestor's 'manage_delete' method to wipe itself
> Dirksen> off. In java, you can do this by calling
> Dirksen> 'super.manage_delete()', but how to do it in zope?
>
> Dirksen> Dirksen
>
> Dirksen> __________________________________________________ Do You
> Dirksen> Yahoo!? Yahoo! Photos - Share your holiday photos
> Dirksen> online! http://photos.yahoo.com/
>
> Dirksen> _______________________________________________ Zope
> Dirksen> maillist - [EMAIL PROTECTED]
> Dirksen> http://lists.zope.org/mailman/listinfo/zope ** No cross
> Dirksen> posts or HTML encoding! ** (Related lists -
> Dirksen> http://lists.zope.org/mailman/listinfo/zope-announce
> Dirksen> http://lists.zope.org/mailman/listinfo/zope-dev )
>
__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/
_______________________________________________
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )