[Zope3-checkins] CVS: Zope3/src/zope/app/browser/container - configure.zcml:1.9
Stephan Richter
srichter@cbu.edu
Tue, 25 Mar 2003 13:32:19 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/container
In directory cvs.zope.org:/tmp/cvs-serv24405/src/zope/app/browser/container
Modified Files:
configure.zcml
Log Message:
Jim helped Trevor and I figuring out that not every IWriteContainer wants
to support IAdding (the example being the LocalTranslationService). So we
removed the general declaration from IWriteContainer and made them explicit
on implementing objects.
Trevor and Stephan
=== Zope3/src/zope/app/browser/container/configure.zcml 1.8 => 1.9 ===
--- Zope3/src/zope/app/browser/container/configure.zcml:1.8 Sat Mar 1 12:32:49 2003
+++ Zope3/src/zope/app/browser/container/configure.zcml Tue Mar 25 13:31:48 2003
@@ -2,7 +2,8 @@
<view
for="zope.app.interfaces.container.IContentContainer"
- name="+"
+ name="+"
+ menu="zmi_actions" title="Add"
class="zope.app.browser.container.adding.Adding"
permission="zope.ManageContent"
allowed_attributes="addingInfo"
@@ -12,13 +13,6 @@
<page name="action.html" attribute="action" />
</view>
-
- <menuItem
- for="zope.app.interfaces.container.IWriteContainer"
- menu="zmi_actions"
- title="Add"
- action="+"
- />
<page
for="zope.app.interfaces.container.IReadContainer"