[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services - configure.zcml:1.35
Jim Fulton
jim@zope.com
Sun, 23 Mar 2003 13:04:56 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/services
In directory cvs.zope.org:/tmp/cvs-serv12947/src/zope/app/browser/services
Modified Files:
configure.zcml
Log Message:
Added code to prevent deleting the last configuration manager from a site-management folder
=== Zope3/src/zope/app/browser/services/configure.zcml 1.34 => 1.35 ===
--- Zope3/src/zope/app/browser/services/configure.zcml:1.34 Sun Mar 23 11:45:43 2003
+++ Zope3/src/zope/app/browser/services/configure.zcml Sun Mar 23 13:04:26 2003
@@ -522,44 +522,49 @@
</pages>
-
-
-
-
<!-- SiteManagementFolder -->
- <pages
- for="zope.app.interfaces.services.folder.ISiteManagementFolder"
- permission="zope.ManageServices"
- class="zope.app.browser.container.contents.JustContents">
-
- <page name="index.html" attribute="index" />
-
- </pages>
-
- <pages
- for="zope.app.interfaces.services.folder.ISiteManagementFolder"
- permission="zope.ManageServices"
- class="zope.app.browser.container.contents.Contents"
- >
-
- <page name="contents.html"
- attribute="contents"
- menu="zmi_views" title="Contents"
- />
- <page name="removeObjects.html" attribute="removeObjects" />
- </pages>
-
- <view
- name="+"
- for="zope.app.interfaces.services.folder.ISiteManagementFolder"
- permission="zope.ManageServices"
- class="zope.app.browser.services.service.ComponentAdding">
-
- <page name="index.html" attribute="index" />
- <page name="action.html" attribute="action" />
+<pages
+ for="zope.app.interfaces.services.folder.ISiteManagementFolder"
+ permission="zope.ManageServices"
+ class="zope.app.browser.container.contents.JustContents">
+
+ <page name="index.html" attribute="index" />
+
+</pages>
+
+<pages
+ for="zope.app.interfaces.services.folder.ISiteManagementFolder"
+ permission="zope.ManageServices"
+ class="zope.app.browser.container.contents.Contents"
+ >
+
+ <page name="contents.html"
+ attribute="contents"
+ menu="zmi_views" title="Contents"
+ />
+ <page name="removeObjects.html" attribute="removeObjects" />
+ </pages>
+
+<view
+ name="+"
+ for="zope.app.interfaces.services.folder.ISiteManagementFolder"
+ permission="zope.ManageServices"
+ class="zope.app.browser.services.service.ComponentAdding">
+
+ <page name="index.html" attribute="index" />
+ <page name="action.html" attribute="action" />
+
+</view>
+
+<page
+ for="zope.app.interfaces.services.folder.INoConfigurationManagerError"
+ name="index.html"
+ permission="zope.Public"
+ template="../exception/user.pt"
+ class="zope.app.browser.exception.user.UserErrorView"
+ />
- </view>
<!-- ServiceConfiguration -->