[Zope3-checkins] CVS: Zope3/src/zope/app/content - configure.zcml:1.14.2.2

Steve Alexander steve@cat-box.net
Thu, 15 May 2003 10:49:59 -0400


Update of /cvs-repository/Zope3/src/zope/app/content
In directory cvs.zope.org:/tmp/cvs-serv12712/src/zope/app/content

Modified Files:
      Tag: stevea-decorators-branch
	configure.zcml 
Log Message:
More work on Decorators.
Converted existing tests to use decorators instead of ZopeContainerAdapter.


=== Zope3/src/zope/app/content/configure.zcml 1.14.2.1 => 1.14.2.2 ===
--- Zope3/src/zope/app/content/configure.zcml:1.14.2.1	Wed May 14 13:44:10 2003
+++ Zope3/src/zope/app/content/configure.zcml	Thu May 15 10:49:28 2003
@@ -13,13 +13,14 @@
   <implements
      interface="zope.app.interfaces.annotation.IAttributeAnnotatable"
      />
-  <decorate decorator="zope.app.container.contextdecorator" type="context" />
   <factory
       id="Folder"
       permission="zope.ManageContent"
       title="Folder"
       description="Minimal folder" />
 
+  <decorate decorator="zope.app.container.contextdecorator" type="context" />
+
   <allow
       interface="zope.app.interfaces.services.service.Read"
       />
@@ -68,13 +69,13 @@
 
   <implements interface="zope.app.interfaces.container.IContentContainer" />
 
-  <decorate decorator="zope.app.container.contextdecorator" type="context" />
   <require like_class="zope.app.content.folder.Folder" />
 
   <implements
      interface="zope.app.interfaces.annotation.IAttributeAnnotatable"
      />
 
+  <decorate decorator="zope.app.container.contextdecorator" type="context" />
 </content>
 
 <permission id="zope.AddImages" title="Add Images" />