[Zope3-checkins] CVS: Products3/odbcDA/browser - AddView.py:1.2 configure.zcml:1.2

Marius Gedminas mgedmin@codeworks.lt
Thu, 12 Dec 2002 11:54:20 -0500


Update of /cvs-repository/Products3/odbcDA/browser
In directory cvs.zope.org:/tmp/cvs-serv4572/odbcDA/browser

Modified Files:
	AddView.py configure.zcml 
Log Message:
Migrate to the new method of registering database connections


=== Products3/odbcDA/browser/AddView.py 1.1 => 1.2 ===
--- Products3/odbcDA/browser/AddView.py:1.1	Thu Dec 12 08:24:15 2002
+++ Products3/odbcDA/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 odbc DA"""


=== Products3/odbcDA/browser/configure.zcml 1.1 => 1.2 ===
--- Products3/odbcDA/browser/configure.zcml:1.1	Thu Dec 12 08:24:15 2002
+++ Products3/odbcDA/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="ODBC DA" action="ZopeProducts.odbcDA"
    description="An ODBC Database Adapter"/>