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

Jim Fulton jim@zope.com
Mon, 10 Mar 2003 15:28:11 -0500


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

Modified Files:
	configure.zcml 
Log Message:
Made the management view selector the default default view
(index.html) for services so that if you go to "service/", you'd
get the first management view if the service doesn't define it's own
index.html. 
 

=== Zope3/src/zope/app/browser/services/configure.zcml 1.26 => 1.27 ===
--- Zope3/src/zope/app/browser/services/configure.zcml:1.26	Sat Mar  8 16:45:58 2003
+++ Zope3/src/zope/app/browser/services/configure.zcml	Mon Mar 10 15:28:10 2003
@@ -2,6 +2,17 @@
    xmlns='http://namespaces.zope.org/browser'
    >
 
+<!-- For services, just treat @@manage as @@index.html by default -->
+
+  <!-- Get first accessable item from zmi_views menu -->
+  <page
+     for="zope.app.interfaces.services.interfaces.ILocalService"
+     name="index.html"
+     permission="zope.ManageServices"
+     class="zope.app.browser.managementviewselector.ManagementViewSelector" 
+     allowed_interface="zope.publisher.interfaces.browser.IBrowserPublisher"
+     />
+
 <!--Error Logging Service -->
 
   <pages