[Zope] Aquisition and supermethod calls

Daniel Mahler mahler@cyc.com
Mon, 11 Feb 2002 11:23:55 -0600


Lennart Regebro writes:
 > From: "Daniel Mahler" <mahler@cyc.com>
 > > Is there a better way to do what I want?
 > 
 > Probably. The question is: What do you want? :-)
 > 
 > What is it that you are trying to accomplish, more specifically?
 > For exmple, if it is not index_html, why must the methods be called the
 > same?

I am trying to extend a 3rd party product:
they provide both the method
and code in their product also calls the method.
I want to customize the method's behaviour
when their code calls it.
I just used to override the method,
but that is a maintenance nightmare.

D

 > 
 > 
 > 
 > 
 > _______________________________________________
 > Zope maillist  -  Zope@zope.org
 > 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 )