[Zope3-dev] Re: Death to IContentContainer

S.Martin s.martin at iwm-kmrc.de
Wed Dec 14 10:05:35 EST 2005


Hi,

> 
> I've removed the references to IContentContainer within the trunk and
> deprecate the IContentContainer interface.
> 
> There's a last reference within
> /home/zopes/Zope3/src/zope/app/workflow/stateful/browser/configure.zcml
> 

There's another important last reference within

zope.app.container.browser.configure.zcml

   <view
       for="zope.app.container.interfaces.IContentContainer"
       name="+"
       menu="zmi_actions" title="Add"
       class="zope.app.container.browser.adding.ContentAdding"
       permission="zope.ManageContent"
       allowed_attributes="addingInfo isSingleMenuItem hasCustomAddView">

     <page name="index.html"  template="add.pt" />
     <page name="action.html" attribute="action" />

   </view>

It should be fixed by

   <view
       for="zope.app.container.interfaces.IWriteContainer"


Stefan Martin



More information about the Zope3-dev mailing list