[Zope3-checkins] CVS: Products3/psycopgda - configure.zcml:1.8

Sidnei da Silva sidnei at x3ng.com.br
Mon Feb 23 09:47:37 EST 2004


Update of /cvs-repository/Products3/psycopgda
In directory cvs.zope.org:/tmp/cvs-serv29451

Modified Files:
	configure.zcml 
Log Message:
Sync with z3-head. add_utility is gone.


=== Products3/psycopgda/configure.zcml 1.7 => 1.8 ===
--- Products3/psycopgda/configure.zcml:1.7	Tue Aug 19 09:12:53 2003
+++ Products3/psycopgda/configure.zcml	Mon Feb 23 09:47:36 2004
@@ -1,40 +1,40 @@
 <configure
-   xmlns="http://namespaces.zope.org/zope"
-   xmlns:browser="http://namespaces.zope.org/browser"
-   i18n_domain="psycopgda">
+  xmlns="http://namespaces.zope.org/zope"
+  xmlns:browser="http://namespaces.zope.org/browser"
+  i18n_domain="psycopgda">
 
   <content class=".adapter.PsycopgAdapter">
     <factory
-        id="zope.da.PsycopgDA"
-        permission="zope.Public" />
-    <require 
-        permission="zope.Public"
-        interface="zope.app.interfaces.rdb.IZopeDatabaseAdapter"/>
+      id="zope.da.PsycopgDA"
+      permission="zope.Public" />
+    <require
+      permission="zope.Public"
+      interface="zope.app.interfaces.rdb.IZopeDatabaseAdapter"/>
   </content>
 
   <browser:addform
-      name="AddPsycopgDA"
-      schema="zope.app.interfaces.rdb.IZopeDatabaseAdapter"
-      label="Add Psycopg (PostGreSQL) Database Adapter"
-      content_factory=".adapter.PsycopgAdapter"
-      arguments="dsn"
-      fields="dsn"
-      permission="zope.ManageContent" />
+    name="AddPsycopgDA"
+    schema="zope.app.interfaces.rdb.IZopeDatabaseAdapter"
+    label="Add Psycopg (PostGreSQL) Database Adapter"
+    content_factory=".adapter.PsycopgAdapter"
+    arguments="dsn"
+    fields="dsn"
+    permission="zope.ManageContent" />
 
   <!-- Menu entry for "add utility" menu -->
-  <browser:menuItem
-      menu="add_utility"
-      for="zope.app.interfaces.container.IAdding"
-      title="Psycopg DA"
-      description="A PostgreSQL Database Adapter using the Psycopg driver"
-      action="AddPsycopgDA" />
+  <browser:addMenuItem
+    class=".adapter.PsycopgAdapter"
+    title="Psycopg DA"
+    description="A PostgreSQL Database Adapter using the Psycopg driver"
+    permission="zope.ManageApplication"
+    />
 
   <!-- Menu entry for "add connection" menu -->
   <browser:menuItem
-      menu="add_connection"
-      for="zope.app.interfaces.container.IAdding"
-      title="Psycopg DA"
-      description="A PostgreSQL Database Adapter using the Psycopg driver"
-      action="AddPsycopgDA"/>
+    menu="add_connection"
+    for="zope.app.interfaces.container.IAdding"
+    title="Psycopg DA"
+    description="A PostgreSQL Database Adapter using the Psycopg driver"
+    action="AddPsycopgDA"/>
 
 </configure>




More information about the Zope3-Checkins mailing list