[Zope-PTK] Hooks & Overidable again

Chris Withers chrisw@nipltd.com
Tue, 05 Sep 2000 17:54:49 +0100


Fabio Forno wrote:
> > yeah, this was my idea: if you leave in the tool class an empty method
> > which is an hook, when you add a method with the same name to its
> > instance, you should override it, isn' it?  This could be a good way to
> > quickly add functionality to a portal object without having to  worry a
> > lot of the low level changes.
> 
> I doesn't work, but there is a bypass. 

I thought the overidable interface was for exactly this situation?

cheers,

Chris

PS: Just checking: overidable has been implemented, hasn't it?! ;-)