[Zope3-Users] Problem with containers
Martijn Pieters
mj at zopatista.com
Fri Sep 15 05:51:47 EDT 2006
On 9/15/06, Rob Campbell <rcampbell at pcwi.net> wrote:
> I just recently started trying out Zope 3. My first test project is a
> few containers that can contain other containers or an object. They are
> laid out as follows:
>
> FosterRecord
> -> FosterSource
> -> Foster
> -> FosterGroup
> -> Foster
>
> A FosterRecord is the top level container and can contain a
> FosterSource. A FosterSource can contain a Foster object or a
> FosterGroup. And a FosterGroup can contain a Foster object.
You cannot combine multiple contained or container constraints; you'll
have to define a contained contstraint for the Foster implementation
that includes both IFosterSource and IFosterGroup.
--
Martijn Pieters
More information about the Zope3-users
mailing list