[Zope3-checkins] CVS: Zope3/src/zope/app/sqlscript - configure.zcml:1.1.2.2

Philipp von Weitershausen philikon at philikon.de
Mon Feb 23 06:04:05 EST 2004


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

Modified Files:
      Tag: philikon-movecontent-branch
	configure.zcml 
Log Message:
* Extend comment that modulealias is just a temporary solution.
* Add factory
* Cleanup


=== Zope3/src/zope/app/sqlscript/configure.zcml 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/sqlscript/configure.zcml:1.1.2.1	Fri Feb 20 14:42:41 2004
+++ Zope3/src/zope/app/sqlscript/configure.zcml	Mon Feb 23 06:03:56 2004
@@ -1,10 +1,10 @@
 <configure
     xmlns='http://namespaces.zope.org/zope'
-    xmlns:fssync='http://namespaces.zope.org/fssync'
     i18n_domain='zope'
     >
 
-  <!-- Module alias for backward compat -->
+  <!-- Module alias for backward compat
+       Will go away once we have a conversion script -->
 
   <modulealias
       module=".sqlscript"
@@ -29,10 +29,17 @@
       /> 
 
   <content class=".sqlscript.SQLScript">
+    <factory
+        id="SQLScript"
+        permission="zope.ManageContent"
+        title="SQL Script"
+        description="A content-based script to execute dyanmic SQL."
+        />
+
     <require
-        permission = "zope.ManageContent"
-        interface = ".interfaces.ISQLScript"
-        set_schema = ".interfaces.ISQLScript"
+        permission="zope.ManageContent"
+        interface=".interfaces.ISQLScript"
+        set_schema=".interfaces.ISQLScript"
         />
 
     <require




More information about the Zope3-Checkins mailing list