[Zope] ZClass-Inheritance Problem
Dieter Maurer
dieter@handshake.de
Mon, 14 Jan 2002 20:00:01 +0100
Stadtverwaltung Schwarzenberg writes:
> i have a ZClass (name: class1) and another ZClass (name: class2) which
> inherits from class1. Class1 has a dtml-method called doSomething().
> Instances of class2 are supposed to use this method in an extended way which
> would look like this:
>
> <dtml-comment>doSomethingMethod of class2</dtml-comment>
> <dtml-call doSomethingOfClass1>
> <dtml-call doSomethingElse>
>
> My question is: how can I make a method of class2 call its parents method?
I think, this has been discussed already (--> mailing list archives).
I fear, there is no way to do that with TTW code (Through The Web editable code).
I file system based code, you might be able to use "inheritedAttribute".
See an ExtensionClass documentation for details.
Dieter