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

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


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

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/SQLScript/configure.zcml 1.3 => 1.4 ===
--- Zope3/lib/python/Zope/App/OFS/Content/SQLScript/configure.zcml:1.3	Thu Jul 25 18:09:31 2002
+++ Zope3/lib/python/Zope/App/OFS/Content/SQLScript/configure.zcml	Fri Oct  4 16:02:03 2002
@@ -5,23 +5,24 @@
   <permission id="Zope.AddSQLScripts" title="Add SQL Scripts" />
 
   <content class=".SQLScript.">
+
     <factory
         id="SQLScript"
         permission="Zope.ManageContent"
         title="SQL Script"
         description="Dynamic SQL Script" />
+
     <require
         permission="Zope.ManageContent"
         interface=".ISQLScript." />
+
     <require
         permission="Zope.ManageContent"
         interface="Zope.App.OFS.Content.IFileContent." />
-  </content>
 
-  <adapter
-      factory="Zope.App.OFS.Annotation.AttributeAnnotations."
-      provides="Zope.App.OFS.Annotation.IAnnotations."
-      for=".ISQLScript." />
+    <implements interface="Zope.App.OFS.Annotation.IAttributeAnnotatable." />
+
+  </content>
 
 
   <!-- Arguments Directives -->