[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services/configuration - configure.zcml:1.3

Jim Fulton jim@zope.com
Sun, 23 Mar 2003 17:03:58 -0500


Update of /cvs-repository/Zope3/src/zope/app/browser/services/configuration
In directory cvs.zope.org:/tmp/cvs-serv11562/src/zope/app/browser/services/configuration

Modified Files:
	configure.zcml 
Log Message:
Changed the name of configuration managers created in site-management
folders to "ConfigurationManager".

Updated all code that accessed configuration managers to use
getConfigurationManager rather that traversing containers with
hardcoded names.


=== Zope3/src/zope/app/browser/services/configuration/configure.zcml 1.2 => 1.3 ===
--- Zope3/src/zope/app/browser/services/configuration/configure.zcml:1.2	Sun Mar 23 14:24:45 2003
+++ Zope3/src/zope/app/browser/services/configuration/configure.zcml	Sun Mar 23 17:03:27 2003
@@ -52,30 +52,25 @@
 
 <!-- ConfigurationManager -->
 
-  <page
-     name="index.html" 
-     for="zope.app.interfaces.services.configuration.IConfigurationManager"
-     menu="zmi_views" title="Configuration"
-     permission="zope.ManageServices"
-     class=".EditConfiguration"
-     template="editconfiguration.pt" 
-     />
-
-  <view
-     for="zope.app.interfaces.services.configuration.IConfigurationManager"
-     name="+"
-     permission="zope.ManageServices"
-     class=".ConfigurationAdding">
-    <page name="index.html"  attribute="index"  />
-    <page name="action.html" attribute="action" />
-  </view>
+<page
+   name="index.html" 
+   for="zope.app.interfaces.services.configuration.IConfigurationManager"
+   menu="zmi_views" title="Configuration"
+   permission="zope.ManageServices"
+   class=".EditConfiguration"
+   template="editconfiguration.pt" 
+   />
 
-  <menuItem
-        menu="add_component"
-        for="zope.app.interfaces.container.IAdding"
-        action="zope.app.services.ConfigurationManager"
-        title="Configuration"
-        />
+<!-- For now, we'll allow CMs to be added, but we won't include them
+     in the add_component menu. -->
+<view
+   for="zope.app.interfaces.services.configuration.IConfigurationManager"
+   name="+"
+   permission="zope.ManageServices"
+   class=".ConfigurationAdding">
+  <page name="index.html"  attribute="index"  />
+  <page name="action.html" attribute="action" />
+</view>
 
 
 <page
@@ -86,6 +81,5 @@
     template="../../exception/user.pt"
     class="zope.app.browser.exception.user.UserErrorView"
     />
-
 
 </zopeConfigure>