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

Jim Fulton jim@zope.com
Mon, 30 Dec 2002 18:50:54 -0500


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

Modified Files:
	configure.zcml 
Log Message:
Changed all single-page browser:view to use browser:page instead.

Got rid of superfluous defaultView directives.

Moved menu specifications into page tags, where possible.
 


=== Zope3/src/zope/app/browser/applicationcontrol/configure.zcml 1.2 => 1.3 ===
--- Zope3/src/zope/app/browser/applicationcontrol/configure.zcml:1.2	Wed Dec 25 09:12:27 2002
+++ Zope3/src/zope/app/browser/applicationcontrol/configure.zcml	Mon Dec 30 18:50:23 2002
@@ -22,19 +22,14 @@
       title="Server control" 
       />
 
-  <browser:view 
-      for="zope.app.interfaces.applicationcontrol.applicationcontrol.IApplicationControl"
-      factory="zope.app.browser.applicationcontrol.runtimeinfo.RuntimeInfoView" 
-      permission="zope.ManageApplication" >
-
-    <browser:page name="index.html" attribute="index" />
-  </browser:view> 
-
-  <browser:menuItem
+  <browser:page
       for="zope.app.interfaces.applicationcontrol.applicationcontrol.IApplicationControl"
+      name="index.html"
       menu="zmi_views"
-      action="index.html"
-      title="Runtime Information"
+      title="Runtime Information"       
+      attribute="index"
+      class="zope.app.browser.applicationcontrol.runtimeinfo.RuntimeInfoView" 
+      permission="zope.ManageApplication"
       />
 
 </zopeConfigure>