[Zope3-Users] Multiple containers in one object - how to implement in Zope3?

Florian Lindner mailinglists at xgm.de
Sat Apr 1 10:43:05 EST 2006


Am Samstag, 1. April 2006 15:15 schrieb Alek Kowalczyk:
> Hello,
>
> I have a simple (on the first sight) problem, which I don't know how to
> resolve in zope3'ish way.
>
> I have a single object, which can contain many objects of 2 another
> types (IType1, IType2). My intention is to have those objects contained
> in separate collections (because they are very different 2 types of
> objects and should not be mixed in one collection)
> I'd like to have each collection editable like Zope folder, i.e each
> collection to be IContainer/BTreeContainer.

[...]

Hi,
why don't just create two subfolders (of type zope.folder) in you Container 
object, one for IType1, one for IType2?

Regards,

Florian


More information about the Zope3-users mailing list