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