[Zope] Archetype destructor

Garito garito at sistes.net
Wed Mar 16 18:40:59 EST 2005


Dieter Maurer escribió:

>Garito wrote at 2005-3-14 13:51 +0100:
>  
>
>>I try to control how an archetype object instance is deleted but I can't 
>>find the destructor
>>    
>>
>
>You use "manage_beforeDelete" for this.
>
>Note, however, that "manage_beforeDelete" is used also for
>moving. In this case, a "manage_afterAdd" will later follow
>(at the new place).
>
>  
>
Hi Dieter,

Thanks for your help
In the same way I try to control the edition process
Can you point me how I could override the update() process? I want to 
annotate some data before edition complete but I like the regular 
process of update the information. For that I would like to create the 
tipical:

def update(self, < I don't know the firm>):
    <Base class>.update(<parameters>)
    <Make my annotation>

I don't remember the name of these (much more beer, jeje)

Thanks again!



More information about the Zope mailing list