[Zope-Checkins] CVS: Zope3 - zope.zcml:1.1.2.18

Jim Fulton jim@zope.com
Mon, 14 Jan 2002 16:01:55 -0500


Update of /cvs-repository/Zope3
In directory cvs.zope.org:/tmp/cvs-serv2697

Modified Files:
      Tag: Zope-3x-branch
	zope.zcml 
Log Message:
Updates attributes attribute for a number of directives.

Added browser skin directive and updates one usage to use browser
version.


=== Zope3/zope.zcml 1.1.2.17 => 1.1.2.18 ===
         <subdirective name="tab" attributes="label, action" />
     </directive>
-    <directive name="icon" attributes="for, file"
+    <directive name="icon" attributes="for, file, package, alt"
                handler="Zope.App.ZMI.IconDirective." />
   </directives>
 
@@ -64,7 +64,7 @@
        handler="Zope.ComponentArchitecture.metaConfigure.view" />
     <directive name="defaultView" attributes="component, type, name, for, layer"
        handler="Zope.ComponentArchitecture.metaConfigure.defaultView" />
-    <directive name="skin" attributes="name, layers" 
+    <directive name="skin" attributes="name, type, layers" 
         handler="Zope.ComponentArchitecture.metaConfigure.skin" />
     <directive name="serviceType" attributes="name, interface"
        handler="Zope.ComponentArchitecture.metaConfigure.serviceType" />
@@ -78,6 +78,8 @@
        handler="Zope.Publisher.Browser.metaConfigure.view" />
     <directive name="defaultView" attributes="component, name, for"
        handler="Zope.Publisher.Browser.metaConfigure.defaultView" />
+    <directive name="skin" attributes="name, layers" 
+        handler="Zope.Publisher.Browser.metaConfigure.skin" />
   </directives>
   
 <!-- Standard services -->
@@ -104,7 +106,7 @@
               layer="zmi"
               factory="Zope.App.ZMI.StandardMacros." />
 
-<skin name="zmi" layers="zmi," />
+<browser:skin name="zmi" layers="zmi," />
 
 <!-- Other stuff that still needs to get organized. -->