[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/ApplicationControl/Views/Browser - configure.zcml:1.3 index.pt:NONE

Jim Fulton jim@zope.com
Fri, 20 Dec 2002 18:15:35 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/ApplicationControl/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv8478/Views/Browser

Modified Files:
	configure.zcml 
Removed Files:
	index.pt 
Log Message:

Refactored the application controller to use the views menu rather
than a specialized view plugin mechanism.

Got rid of the old main page, which now does nothing and made the
process info view the default.



=== Zope3/lib/python/Zope/App/OFS/ApplicationControl/Views/Browser/configure.zcml 1.2 => 1.3 ===
--- Zope3/lib/python/Zope/App/OFS/ApplicationControl/Views/Browser/configure.zcml:1.2	Thu Jun 20 11:54:49 2002
+++ Zope3/lib/python/Zope/App/OFS/ApplicationControl/Views/Browser/configure.zcml	Fri Dec 20 18:15:04 2002
@@ -4,28 +4,19 @@
    xmlns:application-control='http://namespaces.zope.org/application-control'
 >
 
-  <!-- ApplicationControl View Directives -->
-  <browser:defaultView
-      name="index.html"
-      for="Zope.App.OFS.ApplicationControl.IApplicationControl."
-      permission="Zope.ManageApplication"
-      template="index.pt"
-      />
-
-  <!-- RuntimeInfo View Directives -->
   <browser:view 
       for="Zope.App.OFS.ApplicationControl.IApplicationControl."
       factory=".RuntimeInfoView." 
       permission="Zope.ManageApplication" >
 
-    <browser:page name="RuntimeInfo.html" attribute="index" />
+    <browser:page name="index.html" attribute="index" />
   </browser:view> 
-    
 
-  <!-- Hint: 
-       also register the 'runtimeinfo' view as ApplicationControl plugin -->
-  <application-control:registerView
-      name="RuntimeInfo.html"
-      title="Runtime Information" />
+  <browser:menuItem
+      for="Zope.App.OFS.ApplicationControl.IApplicationControl."
+      menu="zmi_views"
+      action="index.html"
+      title="Runtime Information"
+      />
 
 </zopeConfigure>

=== Removed File Zope3/lib/python/Zope/App/OFS/ApplicationControl/Views/Browser/index.pt ===