[Zope3-checkins] CVS: Zope3/src/zope/app/browser/index/text - configure.zcml:1.5

Jim Fulton jim@zope.com
Thu, 20 Feb 2003 13:22:35 -0500


Update of /cvs-repository/Zope3/src/zope/app/browser/index/text
In directory cvs.zope.org:/tmp/cvs-serv18776

Modified Files:
	configure.zcml 
Log Message:
Changed the name of the default view to index.html to avoid having the
defaultView directive.

Also simplified the view definition to use a page directive.


=== Zope3/src/zope/app/browser/index/text/configure.zcml 1.4 => 1.5 ===
--- Zope3/src/zope/app/browser/index/text/configure.zcml:1.4	Tue Dec 31 16:53:28 2002
+++ Zope3/src/zope/app/browser/index/text/configure.zcml	Thu Feb 20 13:22:33 2003
@@ -11,19 +11,13 @@
     description="An index to support full-text search"
     />
 
-  <browser:defaultView
-    for="zope.textindex.textindexinterfaces.IStatistics"
-    name="control.html" />
-
-  <browser:view
+  <browser:page
     for="zope.textindex.textindexinterfaces.IStatistics"
+    name="index.html" 
+    menu="zmi_views"
+    title="Control"
     permission="zope.ManageServices"
-    name="control.html"
     class=".control.ControlView"
-    >
-
-    <browser:page name="index.html" template="control.pt" />
-
-  </browser:view>
+    template="control.pt" />
 
 </zopeConfigure>