[Zope] Inheriting from ObjectManager

Dieter Maurer dieter@handshake.de
Wed, 22 Aug 2001 22:12:01 +0200 (CEST)


Bocquillon  Philippe writes:
 > All works fine until I try to create other instances of the ChannelFolder
 > class IN a ChannelFolder instance (let's call the latter A).
 > In that case, these ChannelFolder objects are not created in A as expected
 > but in the container of A (so, one level too high).
 > I am using the following instructions:
 > 
 >      newChannelFolder=ChannelFolder(id, title, description)
 >      self._setObject(id, newChannelFolder)
Seems that "self" is the container of "A" and not "A"...


Dieter