[Zope] How to inherit DTML methods from the web interface

Chris Withers chrisw@nipltd.com
Mon, 17 Mar 2003 10:59:12 +0000


pieter claassen wrote:
> I want to be able to override methods in my product with web based
> methods (e.g. standard_html_header) created in the Zope web interface.

Look up the replaceable interface and define your methods as being 'replacable' 
in your Python Product.

Squishdot has an example of this in the 'render' method of the SquishSite class...

cheers,

Chris