[Zope3-Users] ForbiddenAttribute "add" error
Joseph Method
tristil at gmail.com
Sat Mar 4 03:01:59 EST 2006
Baiju M explained to me in IRC that
http://localhost:8031/DebtManager/+/@@AddClaim.html should be
http://localhost:8031/DebtManager/@@+/AddClaim.html or
http://localhost:8031/DebtManager/+/AddClaim.html . So there you go.
On 3/4/06, Joseph Method <tristil at gmail.com> wrote:
> Interestingly enough, switching the implementation to BTreeFolder
> causes this error:
>
> AttributeError: 'DebtManager' object has no attribute 'getSiteManager'
>
> On 3/4/06, baiju m <baiju.m.mail at gmail.com> wrote:
> > 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
> > _______________________________________________
> > Zope3-users mailing list
> > Zope3-users at zope.org
> > http://mail.zope.org/mailman/listinfo/zope3-users
> >
>
>
> --
> -J. Method
>
--
-J. Method
More information about the Zope3-users
mailing list