[Zope3-checkins] CVS: zopeproducts/pypgsqlda - configure.zcml:1.4
browser.py:NONE
Stephan Richter
srichter at cosmos.phy.tufts.edu
Tue Aug 19 04:12:28 EDT 2003
Update of /cvs-repository/zopeproducts/pypgsqlda
In directory cvs.zope.org:/tmp/cvs-serv17486/pypgsqlda
Modified Files:
configure.zcml
Removed Files:
browser.py
Log Message:
Updated all Database Adaptors.
=== zopeproducts/pypgsqlda/configure.zcml 1.3 => 1.4 ===
--- zopeproducts/pypgsqlda/configure.zcml:1.3 Sun Aug 3 14:35:41 2003
+++ zopeproducts/pypgsqlda/configure.zcml Tue Aug 19 03:11:53 2003
@@ -1,31 +1,48 @@
<configure
- xmlns='http://namespaces.zope.org/zope'
- xmlns:browser='http://namespaces.zope.org/browser'
- i18n_domain='pypgsqlda'
- >
+ xmlns="http://namespaces.zope.org/zope"
+ xmlns:browser="http://namespaces.zope.org/browser"
+ i18n_domain="pypgsqlda">
- <content class=".adapter.pypgsqlAdapter">
- <implements interface="zope.app.interfaces.annotation.IAttributeAnnotatable" />
- <factory id="pypgsqlda"
- permission="zope.Public" />
- <require permission="zope.Public"
- interface="zope.app.rdb.IZopeDatabaseAdapter" />
- </content>
+ <content class=".adapter.pypgsqlAdapter">
+ <factory
+ id="zope.da.pypgsqlda"
+ permission="zope.Public" />
+ <require
+ permission="zope.Public"
+ interface="zope.app.rdb.IZopeDatabaseAdapter" />
+ </content>
-<browser:view
- name="zopeproducts.pypgsqlda"
- for="zope.app.interfaces.container.IAdding"
- class=
- "zopeproducts.pypgsqlda.browser.pypgsqlDAAddView"
- permission="zope.Public">
+ <browser:addform
+ name="AddPypgsqlDA"
+ schema="zope.app.interfaces.rdb.IZopeDatabaseAdapter"
+ label="Add Pypgsql (PostGreSQL) Database Adapter"
+ content_factory=".adapter.pypgsqlAdapter"
+ arguments="dsn"
+ fields="dsn"
+ permission="zope.ManageContent" />
- <browser:page name="+" attribute="add" />
- <browser:page name="action.html" attribute="action" />
-</browser:view>
+ <!-- Menu entry for "add component" menu -->
+ <browser:menuItem
+ menu="add_component"
+ for="zope.app.interfaces.container.IAdding"
+ title="pypgsql DA"
+ description="A PostgreSQL Database Adapter using the pypgsql driver"
+ action="AddPypgsqlDA" />
-<browser:menuItem menu="add_component"
- for="zope.app.interfaces.container.IAdding"
- title="pypgsql DA" action="zopeproducts.pypgsqlda"
- description="A PostgreSQL Database Adapter using the pypgsql driver"/>
+ <!-- Menu entry for "add utility" menu -->
+ <browser:menuItem
+ menu="add_utility"
+ for="zope.app.interfaces.container.IAdding"
+ title="pypgsql DA"
+ description="A PostgreSQL Database Adapter using the pypgsql driver"
+ action="AddPypgsqlDA" />
+
+ <!-- Menu entry for "add connection" menu -->
+ <browser:menuItem
+ menu="add_connection"
+ for="zope.app.interfaces.container.IAdding"
+ title="pypgsql DA"
+ description="A PostgreSQL Database Adapter using the pypgsql driver"
+ action="AddPypgsqlDA" />
</configure>
=== Removed File zopeproducts/pypgsqlda/browser.py ===
More information about the Zope3-Checkins
mailing list