[Zope3-checkins] CVS: Zope3/src/zope/app/browser/form -
add.py:1.29.2.1 configure.zcml:1.20.2.1
Sidnei da Silva
sidnei at x3ng.com.br
Tue Aug 12 10:19:45 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/browser/form
In directory cvs.zope.org:/tmp/cvs-serv22953/src/zope/app/browser/form
Modified Files:
Tag: dreamcatcher-ttwschema-branch
add.py configure.zcml
Log Message:
TTWSchema: Work in progress. Made a branch so I can work without disturbing everyone else
=== Zope3/src/zope/app/browser/form/add.py 1.29 => 1.29.2.1 ===
--- Zope3/src/zope/app/browser/form/add.py:1.29 Thu Aug 7 13:40:28 2003
+++ Zope3/src/zope/app/browser/form/add.py Tue Aug 12 09:19:10 2003
@@ -75,7 +75,7 @@
The data argument is a dictionary with the data entered in the form.
"""
-
+
args = []
if self._arguments:
for name in self._arguments:
=== Zope3/src/zope/app/browser/form/configure.zcml 1.20 => 1.20.2.1 ===
--- Zope3/src/zope/app/browser/form/configure.zcml:1.20 Thu Aug 7 13:40:28 2003
+++ Zope3/src/zope/app/browser/form/configure.zcml Tue Aug 12 09:19:10 2003
@@ -5,6 +5,18 @@
<!-- Form Widget View Directives -->
<browser:defaultView for="zope.schema.interfaces.IField" name="edit" />
+ <!-- XXX The next directive should be replaced by one that
+ uses a 'smart' widget that knows how to deal with type-agnostic
+ values, which is the porpose of zope.schema.Field -->
+
+ <browser:page
+ permission="zope.Public"
+ allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
+ for="zope.schema.interfaces.IField"
+ name="edit"
+ class="zope.app.browser.form.widget.BrowserWidget"
+ />
+
<browser:page
permission="zope.Public"
allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
More information about the Zope3-Checkins
mailing list