[Zope3-checkins] CVS: Zope3/src/zope/app/browser/component - 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/component
In directory cvs.zope.org:/tmp/cvs-serv18207/src/zope/app/browser/component

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/component/configure.zcml 1.2 => 1.3 ===
--- Zope3/src/zope/app/browser/component/configure.zcml:1.2	Wed Dec 25 09:12:28 2002
+++ Zope3/src/zope/app/browser/component/configure.zcml	Mon Dec 30 18:50:23 2002
@@ -3,16 +3,18 @@
    xmlns:browser="http://namespaces.zope.org/browser"
 >
 
-<browser:view 
-	factory = ".interfacewidget.SingleInterfaceWidget"
+<browser:page 
+	class = ".interfacewidget.SingleInterfaceWidget"
 	for = "zope.app.interfaces.component.interfacefield.IInterfaceField"
 	name = "edit"
+        permission="zope.Public"
         />
 
-<browser:view 
-	factory = ".interfacewidget.DisplayWidget"
+<browser:page 
+	class = ".interfacewidget.DisplayWidget"
 	for = "zope.app.interfaces.component.interfacefield.IInterfaceField"
 	name = "display"
+        permission="zope.Public"
         />
 
 </zopeConfigure>