[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/DTMLPage - configure.zcml:1.5

Jim Fulton jim@zope.com
Fri, 4 Oct 2002 16:02:32 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content/DTMLPage
In directory cvs.zope.org:/tmp/cvs-serv7461/lib/python/Zope/App/OFS/Content/DTMLPage

Modified Files:
	configure.zcml 
Log Message:
Changed the configuration to simple say that the content component
implements IAttributeAnnotatable. With that, the content gets the
needed adapter to IAnnotations and the config file need not register
one.



=== Zope3/lib/python/Zope/App/OFS/Content/DTMLPage/configure.zcml 1.4 => 1.5 ===
--- Zope3/lib/python/Zope/App/OFS/Content/DTMLPage/configure.zcml:1.4	Thu Aug  1 12:06:41 2002
+++ Zope3/lib/python/Zope/App/OFS/Content/DTMLPage/configure.zcml	Fri Oct  4 16:02:02 2002
@@ -4,26 +4,26 @@
 >
 
   <content class=".DTMLPage.">
+
     <factory
         id="DTMLPage"
         permission="Zope.ManageContent"
         title="DTML Page"
         description="A simple, content-based Page Template" />
+
     <require permission="Zope.View"
                       attributes="content_type __call__" />
 
     <require permission="Zope.ManageContent"
                       interface=".DTMLPage.IDTMLPage" />
+
     <require permission="Zope.View"
                       interface=".DTMLPage.IRenderDTMLPage" />
-  </content>
 
 
-  <adapter
-      factory="Zope.App.OFS.Annotation.AttributeAnnotations."
-      provides="Zope.App.OFS.Annotation.IAnnotations."
-      for=".DTMLPage.IDTMLPage" />
+    <implements interface="Zope.App.OFS.Annotation.IAttributeAnnotatable." />
 
+  </content>
 
   <include package=".Views" />