[Zope] Using superclasses from new ZClass

Dieter Maurer dieter@handshake.de
Fri, 21 Jun 2002 23:43:28 +0200


felix@chaptereight.com writes:
 > I want to make a i18n-aware ZClass for a product catalogue.  I am
 > learning to use Localizer for the i18n.  In the tutorial, it explains
 > how to make external products that use the Localizer classes
 > (LocalPropertyManager in particular).
 > 
 > Is it possible to do the same using ZClasses?  I have made a new ZClass
 > and have used LocalPropoertyManager as a superclass, but I don't know
 > how to use its methods, etc.
When inherited methods are not overridden, then you can just use them.

Otherwise, you need an additional "mixin" Python class as base
class, that provides an method for accessing the "inheritedAttribute"
method. See the acquisition documentation for details...


Dieter