[Zope3-checkins] CVS: Products3/oracleDA/browser - AddView.py:1.2 configure.zcml:1.2
Marius Gedminas
mgedmin@codeworks.lt
Thu, 12 Dec 2002 11:54:21 -0500
Update of /cvs-repository/Products3/oracleDA/browser
In directory cvs.zope.org:/tmp/cvs-serv4572/oracleDA/browser
Modified Files:
AddView.py configure.zcml
Log Message:
Migrate to the new method of registering database connections
=== Products3/oracleDA/browser/AddView.py 1.1 => 1.2 ===
--- Products3/oracleDA/browser/AddView.py:1.1 Thu Dec 12 08:24:16 2002
+++ Products3/oracleDA/browser/AddView.py Thu Dec 12 11:53:50 2002
@@ -1,5 +1,4 @@
-from Zope.App.OFS.Services.ConnectionService.Views.Browser.AdapterAdd import \
- AdapterAdd
+from Zope.App.RDB.Browser.AdapterAdd import AdapterAdd
class AddView(AdapterAdd):
"""Provide a user interface for adding an oracle DA"""
=== Products3/oracleDA/browser/configure.zcml 1.1 => 1.2 ===
--- Products3/oracleDA/browser/configure.zcml:1.1 Thu Dec 12 08:24:16 2002
+++ Products3/oracleDA/browser/configure.zcml Thu Dec 12 11:53:50 2002
@@ -13,7 +13,7 @@
<browser:page name="action.html" attribute="action" />
</browser:view>
-<browser:menuItem menu="add_connection"
+<browser:menuItem menu="add_component"
for="Zope.App.OFS.Container.IAdding."
title="Oracle DA" action="ZopeProducts.oracleDA"
description="An Oracle Database Adapter"/>