[Zope3-checkins] CVS: Zope3/src/zope/app/browser/form -
configure.zcml:1.25.4.1
Garrett Smith
garrett at mojave-corp.com
Sun Feb 8 18:54:52 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/browser/form
In directory cvs.zope.org:/tmp/cvs-serv22019/src/zope/app/browser/form
Modified Files:
Tag: ozzope-widgets-branch
configure.zcml
Log Message:
Multiple changes:
- Added getViewProviding and queryViewProviding methods to zapi. These are
used to lookup a view based on an interface it provides.
- Fixed a misspecified interface in rotterdamn textarea edit widget.
- Rework of utility.py in progress - tests broken.
- Removed the old view service.
=== Zope3/src/zope/app/browser/form/configure.zcml 1.25 => 1.25.4.1 ===
--- Zope3/src/zope/app/browser/form/configure.zcml:1.25 Fri Jan 16 08:38:18 2004
+++ Zope3/src/zope/app/browser/form/configure.zcml Sun Feb 8 18:54:21 2004
@@ -9,6 +9,7 @@
uses a 'smart' widget that knows how to deal with type-agnostic
values, which is the porpose of zope.schema.Field -->
+ <!-- XXX OZ this type of widget doesn't make sense - remove registration -->
<browser:page
permission="zope.Public"
allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
@@ -16,13 +17,21 @@
name="edit"
class="zope.app.browser.form.widget.BrowserWidget"
/>
-
+
<browser:page
permission="zope.Public"
allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
for="zope.schema.interfaces.ITextLine"
name="edit"
class="zope.app.browser.form.widget.TextWidget"
+ />
+
+ <view
+ type="zope.publisher.interfaces.browser.IBrowserRequest"
+ for="zope.schema.interfaces.ITextLine"
+ provides="zope.app.interfaces.form.IEditWidget"
+ factory="zope.app.browser.form.widget.TextWidget"
+ permission="zope.Public"
/>
<browser:page
More information about the Zope3-Checkins
mailing list