[Zope] Calling superclass methods from inside a Zope object

Jens Vagelpohl jens at dataflake.org
Tue Nov 9 06:48:57 EST 2004


On Nov 9, 2004, at 12:46, Marco Bizzarri wrote:
> We've a problem with a class like this:
>
> class MyObject(CatalogPathAware, SimpleItem):
>
> ~    def manage_afterAdd(self, item, container):
> ~        CatalogPathAware.manage_afterAdd(self, item, container)
> ~        ## other stuff here ##
>
>
> The problem is that MyObject apparentely does not have any visibility 
> of
> the superclasses methods, if they came from some non Zope class (like
> the CatalogPathAware, and therefore the manage_afterAdd crashes.

What you're saying does not make any sense. If there is an error 
message please post it.

jens

---------------

Jens Vagelpohl			jens at zetwork.com
Software Engineer			+49-(0)441-36 18 14 38
Zetwork GmbH				http://www.zetwork.com/



More information about the Zope mailing list