Log message for revision 66273:
  backport bugfix: Add <class> as alias to <content>
  

Changed:
  U   Products.Five/branches/1.0/CHANGES.txt
  U   Products.Five/branches/1.0/meta.zcml

-=-
Modified: Products.Five/branches/1.0/CHANGES.txt
===================================================================
--- Products.Five/branches/1.0/CHANGES.txt      2006-03-31 16:37:03 UTC (rev 
66272)
+++ Products.Five/branches/1.0/CHANGES.txt      2006-03-31 16:38:21 UTC (rev 
66273)
@@ -2,12 +2,14 @@
 Five Changes
 ============
 
-Five 1.0.3 (2006-03-26)
+Five 1.0.3 (2006-03-31)
 =======================
 
 Bugfixes
 --------
 
+* Added the ``class`` ZCML directive as an alias to ``content``.
+
 * Fixed look-up order during Five traversal.  It is now as follows:
 
   1. If an object has __bobo_traverse__, use it.

Modified: Products.Five/branches/1.0/meta.zcml
===================================================================
--- Products.Five/branches/1.0/meta.zcml        2006-03-31 16:37:03 UTC (rev 
66272)
+++ Products.Five/branches/1.0/meta.zcml        2006-03-31 16:38:21 UTC (rev 
66273)
@@ -59,6 +59,29 @@
         />
 
     <meta:complexDirective
+        name="class"
+        schema="zope.app.component.metadirectives.IClassDirective"
+        handler=".metaconfigure.ContentDirective"
+        >
+
+      <meta:subdirective
+          name="implements"
+          schema="zope.app.component.metadirectives.IImplementsSubdirective"
+          />
+
+      <meta:subdirective
+          name="require"
+          schema="zope.app.component.metadirectives.IRequireSubdirective"
+          />
+
+      <meta:subdirective
+          name="allow"
+          schema="zope.app.component.metadirectives.IAllowSubdirective"
+          />
+
+    </meta:complexDirective>
+
+    <meta:complexDirective
         name="content"
         schema="zope.app.component.metadirectives.IClassDirective"
         handler=".metaconfigure.ContentDirective"

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to