[Zope3-checkins] CVS: Products3/sapdbDA/browser - configure.zcml:1.2 sapdbAddView.py:1.2

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


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

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


=== Products3/sapdbDA/browser/configure.zcml 1.1 => 1.2 ===
--- Products3/sapdbDA/browser/configure.zcml:1.1	Thu Dec 12 08:24:17 2002
+++ Products3/sapdbDA/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="SAPDB DA" action="ZopeProducts.sapdbDA"
    description="A SAPDB Database Adapter using the sapdbapi"/>


=== Products3/sapdbDA/browser/sapdbAddView.py 1.1 => 1.2 ===
--- Products3/sapdbDA/browser/sapdbAddView.py:1.1	Thu Dec 12 08:24:17 2002
+++ Products3/sapdbDA/browser/sapdbAddView.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 sapdbAddView(AdapterAdd):
       """Provide a user interface for adding a sapdb DA"""