Re: [Zope3-dev] Re: Death to IContentContainer

2006-01-03 Thread Stephan Richter
On Wednesday 14 December 2005 10:05, S.Martin wrote:
> There's another important last reference within
>
> zope.app.container.browser.configure.zcml
>
>            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">
>
>      
>      
>
>    
>
> It should be fixed by
>
>            for="zope.app.container.interfaces.IWriteContainer"

The correct fix is to remove that directive. The entire point of 
IContentContainer was to provide an easy method for registering the add view 
for a given container without generically having it for all containers. See 
rev. 41106.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] Re: Death to IContentContainer

2005-12-14 Thread S.Martin

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

  




  

It should be fixed by

  http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com