[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services - configure.zcml:1.40
Stephan Richter
srichter@cbu.edu
Tue, 25 Mar 2003 13:32:19 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/services
In directory cvs.zope.org:/tmp/cvs-serv24405/src/zope/app/browser/services
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/services/configure.zcml 1.39 => 1.40 ===
--- Zope3/src/zope/app/browser/services/configure.zcml:1.39 Mon Mar 24 11:34:09 2003
+++ Zope3/src/zope/app/browser/services/configure.zcml Tue Mar 25 13:31:48 2003
@@ -145,7 +145,9 @@
class="zope.app.browser.services.role.Add"
>
- <page name="+" template="addrole.pt" />
+ <page name="+" template="addrole.pt"
+ menu="zmi_actions" title="Add"
+ />
<page name="action.html" attribute="action" />
</pages>
@@ -172,6 +174,7 @@
<view
name="+"
+ menu="zmi_actions" title="Add"
for="zope.app.services.auth.IAuthenticationService"
permission="zope.ManageContent"
class="zope.app.browser.services.auth.AddUser" >
@@ -553,6 +556,7 @@
<view
name="+"
+ menu="zmi_actions" title="Add"
for="zope.app.interfaces.services.folder.ISiteManagementFolder"
permission="zope.ManageServices"
class="zope.app.browser.services.service.ComponentAdding">
@@ -741,5 +745,8 @@
<page name="action.html" attribute="action" />
</view>
+
+<!-- Translation Service Views -->
+<include package=".translation" />
</zopeConfigure>