[Zope] Is this a feature or a bug ?

Gilles Lenfant glenfant@bigfoot.com
Wed, 22 Aug 2001 15:10:49 +0200


Sorry for this late answer...

If you create a class tha inherits from ZObjectManager, opening this ZClass
in the ZMI shows a "Subobjects" tab.
Make a multiple selection of the enable subobjects from this tab. That's all
!
Youz ZClass *should* appear in the list !
I made some folderish classes this way.

--Gilles

----- Original Message -----
From: "Bocquillon Philippe" <Philippe.Bocquillon@trasys.be>
To: <zope@zope.org>
Sent: Tuesday, August 21, 2001 4:45 PM
Subject: [Zope] Is this a feature or a bug ?


> Hello,
>
> I am using Zope 2.3.3.
> I have coded a python class inheriting from ObjectManager (and others, as
> explained in the ZDG).
> Is this a feature or a Zope bug that instances of that class _cannot_
> contain other instances of the _same_ class, just like a Zope Folder obect
> can contain other Folder objects?
>
> I have also tried by inheriting from the Folder class instead of
> ObjectManager. It does not solve the problem.
>
> Note the objects are created but not where expected, instead they are
> created in the first object in the url being a Folder object. This is a
> strange behavior, isn't it?
>
> Thanks in advance for your answers,
>
> Philippe Bocquillon
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>