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

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


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

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/skins/rotterdam/configure.zcml 1.4 => 1.5 ===
--- Zope3/src/zope/app/browser/skins/rotterdam/configure.zcml:1.4	Mon Dec 30 11:51:38 2002
+++ Zope3/src/zope/app/browser/skins/rotterdam/configure.zcml	Mon Dec 30 18:50:28 2002
@@ -29,50 +29,53 @@
   <browser:page name="singleBranchTree.xml" attribute="singleBranchTree" />
 </browser:view>
 
-<browser:view
+<browser:page
+    name="singleBranchTree.xml" 
     for="zope.interface.interface.Interface"
     permission="zope.View"
-    factory=".xmlobject.XmlObjectView">
-  <browser:page name="singleBranchTree.xml" attribute="singleBranchTree" />
-</browser:view>
+    class=".xmlobject.XmlObjectView"
+    attribute="singleBranchTree" 
+    />
 
 <!-- below overrides the standard_macros by Rotterdam Skin -->
-<browser:view
+<browser:page
+    for="*"
     name="standard_macros"
     permission="zope.View"
-    factory=".standardmacros.StandardMacros"
+    class=".standardmacros.StandardMacros"
     layer="rotterdam"
     allowed_interface="zope.interface.common.mapping.IItemMapping" 
     />
 
-<browser:view 
+<browser:page 
+    for="*"
     name="skin_macros"
     permission="zope.View"
     layer="rotterdam"
-    template="template.pt" />
+    template="template.pt" 
+    />
 
-<browser:view 
+<browser:page 
+    for="*"
     name="view_macros"
     permission="zope.View"
     layer="rotterdam"
     template="view_macros.pt" />
 
-<browser:view
+<browser:page
+    for="*"
     name="dialog_macros"
     permission="zope.View"
     layer="rotterdam"
     template="dialog_macros.pt" />
 
-<browser:view
+<browser:page
+    name="contents.html"
     for="zope.app.interfaces.content.folder.IFolder"
     permission="zope.ManageContent"
     layer="rotterdam"
-    factory="zope.app.browser.container.contents.Contents">
-
-  <browser:page name="contents.html"
-                 attribute="contents" template="folder_contents.pt" />
-
-</browser:view>
-
+    class="zope.app.browser.container.contents.Contents"
+    template="folder_contents.pt" 
+    />
 
 </zopeConfigure>