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

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


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

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


=== Products3/sybaseDA/browser/AddView.py 1.1 => 1.2 ===
--- Products3/sybaseDA/browser/AddView.py:1.1	Thu Dec 12 08:24:18 2002
+++ Products3/sybaseDA/browser/AddView.py	Thu Dec 12 11:53:51 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 a sybase DA"""


=== Products3/sybaseDA/browser/configure.zcml 1.1 => 1.2 ===
--- Products3/sybaseDA/browser/configure.zcml:1.1	Thu Dec 12 08:24:18 2002
+++ Products3/sybaseDA/browser/configure.zcml	Thu Dec 12 11:53:51 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="Sybase DA" action="ZopeProducts.sybaseDA"
    description="A Sybase Database Adapter"/>