[Zope3-checkins] CVS: Zope3/src/zope/app/browser/index/text - configure.zcml:1.3
Jim Fulton
jim@zope.com
Mon, 30 Dec 2002 18:50:56 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/index/text
In directory cvs.zope.org:/tmp/cvs-serv18207/src/zope/app/browser/index/text
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/index/text/configure.zcml 1.2 => 1.3 ===
--- Zope3/src/zope/app/browser/index/text/configure.zcml:1.2 Wed Dec 25 09:12:33 2002
+++ Zope3/src/zope/app/browser/index/text/configure.zcml Mon Dec 30 18:50:25 2002
@@ -15,14 +15,13 @@
for="zope.textindex.textindexinterfaces.IStatistics"
name="control.html" />
- <browser:view
+ <browser:page
for="zope.textindex.textindexinterfaces.IStatistics"
+ name="index.html"
+ template="control.pt"
permission="zope.ManageServices"
name="control.html"
- factory=".control.ControlView">
-
- <browser:page name="index.html" template="control.pt" />
-
- </browser:view>
+ class=".control.ControlView">
+ />
</zopeConfigure>