[Zope] Archetype destructor

Dieter Maurer dieter at handshake.de
Thu Mar 17 16:09:28 EST 2005


Garito wrote at 2005-3-17 00:40 +0100:
> ...
>In the same way I try to control the edition process
>Can you point me how I could override the update() process?

I never heard of an "update process"...
What do you mean with that?

>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)

Maybe, you search the source?

If the only thing you do not know are the parameters
(and you do not call the methods through the Web),
you can use

    def update(self, *args, **kw):
	<Base class>.update(self, *args, **kw)
	...

-- 
Dieter


More information about the Zope mailing list