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

Andreas Jung andreas@digicool.com
Thu, 10 Jan 2002 17:00:38 -0500


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

Modified Files:
      Tag: Zope-3x-branch
	zope.zcml 
Log Message:
added support for ZMI


=== Zope3/zope.zcml 1.1.2.16 => 1.1.2.17 ===
     <directive name="utility" attributes="component, provides"
        handler="Zope.ComponentArchitecture.metaConfigure.utility" />
-    <directive name="view" attributes="component, type, name, for"
+    <directive name="view" attributes="component, type, name, for, layer"
        handler="Zope.ComponentArchitecture.metaConfigure.view" />
-    <directive name="defaultView" attributes="component, type, name, for"
+    <directive name="defaultView" attributes="component, type, name, for, layer"
        handler="Zope.ComponentArchitecture.metaConfigure.defaultView" />
+    <directive name="skin" attributes="name, layers" 
+        handler="Zope.ComponentArchitecture.metaConfigure.skin" />
     <directive name="serviceType" attributes="name, interface"
        handler="Zope.ComponentArchitecture.metaConfigure.serviceType" />
     <directive name="service" attributes="name, component"
@@ -98,8 +100,13 @@
 <!-- Standard macros -->
 <browser:view name="standard_macros"
               factory="Zope.App.OFS.StandardMacros." />
+<browser:view name="standard_macros"
+              layer="zmi"
+              factory="Zope.App.ZMI.StandardMacros." />
+
+<skin name="zmi" layers="zmi," />
 
-<!-- Other stuff that still needs to get organizaed. -->
+<!-- Other stuff that still needs to get organized. -->