[Zope3-checkins] CVS: Zope3/src/zope/app/browser/security - configure.zcml:1.1.2.2 permissionwidget.py:1.1.2.2
Jim Fulton
jim@zope.com
Tue, 24 Dec 2002 07:51:51 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/security
In directory cvs.zope.org:/tmp/cvs-serv1158/src/zope/app/browser/security
Modified Files:
Tag: NameGeddon-branch
configure.zcml permissionwidget.py
Log Message:
Searched for and changed over 1200 references to Zope.something.
Most of these were either comments, doc strings, or permission ids.
Many were imports or ids in zcml. (much zcml fixup is still needed.
=== Zope3/src/zope/app/browser/security/configure.zcml 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/browser/security/configure.zcml:1.1.2.1 Mon Dec 23 14:31:09 2002
+++ Zope3/src/zope/app/browser/security/configure.zcml Tue Dec 24 07:50:51 2002
@@ -6,13 +6,13 @@
<browser:view
factory = ".PermissionWidget.SinglePermissionWidget"
- for = "Zope.App.Security.PermissionField.IPermissionField"
+ for = "zope.app.interfaces.security.IPermissionField"
name = "edit"
/>
<browser:view
factory = ".PermissionWidget.DisplayWidget"
- for = "Zope.App.Security.PermissionField.IPermissionField"
+ for = "zope.app.interfaces.security.IPermissionField"
name = "display"
/>
=== Zope3/src/zope/app/browser/security/permissionwidget.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/browser/security/permissionwidget.py:1.1.2.1 Mon Dec 23 14:31:10 2002
+++ Zope3/src/zope/app/browser/security/permissionwidget.py Tue Dec 24 07:50:51 2002
@@ -17,7 +17,7 @@
"""
from zope.app.interfaces.browser.form import IBrowserWidget
-from Zope.App.Forms.Views.Browser import Widget
+from zope.app.browser.forms import widget
from zope.component import getService
class BaseWidget:
@@ -33,7 +33,7 @@
return None
return permission.getId()
-class SinglePermissionWidget(BaseWidget, Widget.BrowserWidget):
+class SinglePermissionWidget(BaseWidget, widget.BrowserWidget):
def __call__(self):
search_name = self.name + ".search"
@@ -69,7 +69,7 @@
HTML = search_field + select_field
return HTML
-class DisplayWidget(BaseWidget, Widget.DisplayWidget):
+class DisplayWidget(BaseWidget, widget.DisplayWidget):
pass