[Zope3-checkins] CVS: Zope3/src/zope/app/browser/skins/basic - configure.zcml:1.4
Jim Fulton
jim@zope.com
Mon, 30 Dec 2002 18:50:59 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/skins/basic
In directory cvs.zope.org:/tmp/cvs-serv18207/src/zope/app/browser/skins/basic
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/basic/configure.zcml 1.3 => 1.4 ===
--- Zope3/src/zope/app/browser/skins/basic/configure.zcml:1.3 Thu Dec 26 15:20:47 2002
+++ Zope3/src/zope/app/browser/skins/basic/configure.zcml Mon Dec 30 18:50:27 2002
@@ -5,33 +5,42 @@
<browser:skin name="Basic" layers="default" />
- <browser:view name="standard_macros"
- permission="zope.View"
- factory=".standardmacros.StandardMacros"
- allowed_interface="zope.interface.common.mapping.IItemMapping"
- />
+ <browser:page
+ name="standard_macros"
+ for="*"
+ class=".standardmacros.StandardMacros"
+ allowed_interface="zope.interface.common.mapping.IItemMapping"
+ permission="zope.Public"
+ />
- <browser:view name="view_macros"
- permission="zope.View"
- template="www/view_macros.pt"
- />
+ <browser:page
+ name="view_macros"
+ for="*"
+ permission="zope.View"
+ template="www/view_macros.pt"
+ />
- <browser:view name="dialog_macros"
- permission="zope.View"
- template="www/dialog_macros.pt"
- />
+ <browser:page
+ name="dialog_macros"
+ for="*"
+ permission="zope.View"
+ template="www/dialog_macros.pt"
+ />
- <browser:resource name="zopetopBasic.css"
- file="www/zopetopbasic.css"
- />
+ <browser:resource
+ name="zopetopBasic.css"
+ file="www/zopetopbasic.css"
+ />
- <browser:resource name="zopetopWidgets.css"
- file="www/zopetopwidgets.css"
- />
+ <browser:resource
+ name="zopetopWidgets.css"
+ file="www/zopetopwidgets.css"
+ />
- <browser:resource name="zopetopStructure.css"
- file="www/zopetopstructure.css"
- />
+ <browser:resource
+ name="zopetopStructure.css"
+ file="www/zopetopstructure.css"
+ />
<browser:resource name="arrowUp.gif" file="www/arrowup.gif"/>