[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services - configure.zcml:1.102 field.py:1.17

Stephan Richter srichter at cosmos.phy.tufts.edu
Sat Mar 13 13:01:36 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/browser/services
In directory cvs.zope.org:/tmp/cvs-serv27233/src/zope/app/browser/services

Modified Files:
	configure.zcml field.py 
Log Message:


Moved registration code to zope.app.registration. Created module aliases, so
that old ZODBs work.


=== Zope3/src/zope/app/browser/services/configure.zcml 1.101 => 1.102 ===
--- Zope3/src/zope/app/browser/services/configure.zcml:1.101	Sat Mar 13 10:21:09 2004
+++ Zope3/src/zope/app/browser/services/configure.zcml	Sat Mar 13 13:01:05 2004
@@ -2,9 +2,6 @@
    xmlns:zope="http://namespaces.zope.org/zope"
    xmlns="http://namespaces.zope.org/browser">
 
-<!-- General registration views --> 
-   <zope:include package=".registration" />
-
 <!-- Component Location widget -->
 
 <!-- XXX we are phasing these widgets out -->
@@ -25,22 +22,6 @@
       permission="zope.ManageServices"
       />
 
-<!-- Generic page for objects that keep track of their registrations -->
-
-<!--
-
- This page has been replaced (or should be) replaced by the
- Registration page specific to each Service
-
-  <page
-      for="zope.app.interfaces.services.registration.IRegisterable"
-      name="registrations.html"
-      template="registration/registered.pt"
-      class=".registration.NameRegistered"
-      permission="zope.ManageServices"
-      menu="zmi_views" title="Registrations" />
--->
-
 <!-- Principal annotations (user data) service -->
 
   <addMenuItem
@@ -48,18 +29,5 @@
      permission="zope.ManageServices"
      title="Principal Annotation Service"
      description="Stores Annotations for Principals" />
-
-<!-- "Add Utility" menu -->
-
-  <view
-    name="AddUtility"
-     for="zope.app.site.interfaces.ISiteManagementFolder"
-     permission="zope.ManageServices"
-     class="zope.app.site.browser.UtilityAdding">
-
-    <page name="index.html"  attribute="index"  />
-    <page name="action.html" attribute="action" />
-
-  </view>    
 
 </zope:configure>


=== Zope3/src/zope/app/browser/services/field.py 1.16 => 1.17 ===
--- Zope3/src/zope/app/browser/services/field.py:1.16	Fri Mar  5 17:08:55 2004
+++ Zope3/src/zope/app/browser/services/field.py	Sat Mar 13 13:01:05 2004
@@ -15,14 +15,9 @@
 
 $Id$
 """
-
 from zope.app import zapi
 from zope.app.browser.form.widget import BrowserWidget
-from zope.app.interfaces.services.registration \
-     import IRegistrationManagerContainer
-
-__metaclass__ = type
-
+from zope.app.registration.interfaces import IRegistrationManagerContainer
 
 class ComponentPathWidget(BrowserWidget):
 




More information about the Zope3-Checkins mailing list