[Zope3-checkins] CVS: zopeproducts/PsycopgDA/Views/Browser - PsycopgDAAddView.py:1.4 configure.zcml:1.3
Viktorija Zaksiene
ryzaja@codeworks.lt
Wed, 8 Jan 2003 11:34:15 -0500
Update of /cvs-repository/zopeproducts/PsycopgDA/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv3852/Views/Browser
Modified Files:
PsycopgDAAddView.py configure.zcml
Log Message:
Fixed import and access paths.
TODO:
- Apply grand renaming rules for PsycopgDA product.
=== zopeproducts/PsycopgDA/Views/Browser/PsycopgDAAddView.py 1.3 => 1.4 ===
--- zopeproducts/PsycopgDA/Views/Browser/PsycopgDAAddView.py:1.3 Wed Dec 18 06:36:18 2002
+++ zopeproducts/PsycopgDA/Views/Browser/PsycopgDAAddView.py Wed Jan 8 11:33:43 2003
@@ -14,7 +14,7 @@
"""
$Id$
"""
-from Zope.App.RDB.Browser.AdapterAdd import AdapterAdd
+from zope.app.browser.rdb import AdapterAdd
class PsycopgDAAddView(AdapterAdd):
=== zopeproducts/PsycopgDA/Views/Browser/configure.zcml 1.2 => 1.3 ===
--- zopeproducts/PsycopgDA/Views/Browser/configure.zcml:1.2 Mon Dec 9 10:59:14 2002
+++ zopeproducts/PsycopgDA/Views/Browser/configure.zcml Wed Jan 8 11:33:43 2003
@@ -4,18 +4,19 @@
>
<browser:view
- name="ZopeProducts.PsycopgDA"
- for="Zope.App.OFS.Container.IAdding."
- factory=".PsycopgDAAddView."
- permission="Zope.Public">
+ name="zopeproducts.PsycopgDA"
+ for="zope.app.interfaces.container.IAdding."
+ class=
+ "zopeproducts.PsycopgDA.Views.Browser.PsycopgDAAddView.PsycopgDAAddView"
+ permission="zope.Public">
<browser:page name="+" attribute="add" />
<browser:page name="action.html" attribute="action" />
</browser:view>
<browser:menuItem menu="add_component"
- for="Zope.App.OFS.Container.IAdding."
- title="Psycopg DA" action="ZopeProducts.PsycopgDA"
+ for="zope.app.interfaces.container.IAdding."
+ title="Psycopg DA" action="zopeproducts.PsycopgDA"
description="A PostgreSQL Database Adapter using the Psycopg driver"/>
</zopeConfigure>