[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services - configure.zcml:1.12 field.py:1.3
Steve Alexander
steve@cat-box.net
Thu, 9 Jan 2003 12:29:13 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/services
In directory cvs.zope.org:/tmp/cvs-serv16296/src/zope/app/browser/services
Modified Files:
configure.zcml field.py
Log Message:
Renamed ComponentLocation field to ComponentPath field in preparation
for a true ComponentLocation field.
=== Zope3/src/zope/app/browser/services/configure.zcml 1.11 => 1.12 ===
--- Zope3/src/zope/app/browser/services/configure.zcml:1.11 Tue Dec 31 13:26:54 2002
+++ Zope3/src/zope/app/browser/services/configure.zcml Thu Jan 9 12:28:40 2003
@@ -265,9 +265,9 @@
<!-- Component Location widget -->
<browser:page
- for="zope.app.services.field.IComponentLocation"
+ for="zope.app.services.field.IComponentPath"
name="edit"
- class="zope.app.browser.services.field.ComponentLocationWidget"
+ class="zope.app.browser.services.field.ComponentPathWidget"
allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
permission="zope.ManageServices"
/>
=== Zope3/src/zope/app/browser/services/field.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/browser/services/field.py:1.2 Wed Dec 25 09:12:36 2002
+++ Zope3/src/zope/app/browser/services/field.py Thu Jan 9 12:28:40 2003
@@ -11,7 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""A widget for ComponentLocation field.
+"""A widget for ComponentPath field.
$Id$
"""
@@ -20,7 +20,7 @@
from zope.app.browser.form.widget import BrowserWidget
from zope.component import getServiceManager
-class ComponentLocationWidget(BrowserWidget):
+class ComponentPathWidget(BrowserWidget):
def _convert(self, value):
return value or None