[Zope3-Users] ForbiddenAttribute "add" error

baiju m baiju.m.mail at gmail.com
Sat Mar 4 00:53:40 EST 2006


On 3/4/06, Joseph Method <tristil at gmail.com> wrote:
> > is  .interfaces.IDebtManager a IContainer interface, i.e.,
> > you are extending IContainer, like ::
>
> >   class IDebtManager(IContainer):
> >        pass
>
> The class is
>
> class DebtManager(Folder):
>
> which implements IDebtManager which is:
>
> class IDebtManager(IContainer):
>     """IDebtManager Marker Interface"""
>
> Would BTreeContainer make the difference?

Actually BTreeContainer (zope.app.container.btree.BTreeContainer) is a
base class of Folder (zope.app.folder.Folder)

And in most of the cases BTreeContainer is enough for implemetating
your IContainer classes.

Can anyone point to the use cases of Folder in the context of IContainer?

Regards,
Baiju M


More information about the Zope3-users mailing list