[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/Forms/Views/Browser - Widget.py:1.13 configure.zcml:1.9
Holger Krekel
hpk@devel.trillke.net
Thu, 5 Dec 2002 08:27:36 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/Forms/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv27419/lib/python/Zope/App/Forms/Views/Browser
Modified Files:
Widget.py configure.zcml
Log Message:
- refactored/renamed the fields in IField.py interfaces
together with Martijn Faassen to have expressive and
consistent names.
- please note that now the 'required' field defaults
to true. you have to explicitly state that you
want a Field to be optional (i.e. non-required).
- improved the docstrings
- modified the unittests to reflect the new situation
=== Zope3/lib/python/Zope/App/Forms/Views/Browser/Widget.py 1.12 => 1.13 ===
--- Zope3/lib/python/Zope/App/Forms/Views/Browser/Widget.py:1.12 Wed Dec 4 04:58:46 2002
+++ Zope3/lib/python/Zope/App/Forms/Views/Browser/Widget.py Thu Dec 5 08:27:04 2002
@@ -25,7 +25,7 @@
from Zope.Publisher.Browser.BrowserView import BrowserView
from Zope.App.Forms.Views.Browser.IBrowserWidget import IBrowserWidget
from Zope.App.Forms.Widget import Widget
-from Zope.App.Forms.Exceptions import ConversionError, WidgetInputError
+from Zope.App.Forms.Exceptions import ConversionError, WidgetInputError, MissingInputError
from Zope.Schema.Exceptions import ValidationError
=== Zope3/lib/python/Zope/App/Forms/Views/Browser/configure.zcml 1.8 => 1.9 ===
--- Zope3/lib/python/Zope/App/Forms/Views/Browser/configure.zcml:1.8 Mon Nov 11 15:43:32 2002
+++ Zope3/lib/python/Zope/App/Forms/Views/Browser/configure.zcml Thu Dec 5 08:27:04 2002
@@ -24,7 +24,7 @@
<browser:view
permission="Zope.Public"
allowed_interface=".IBrowserWidget."
- for="Zope.Schema.IField.ILine"
+ for="Zope.Schema.IField.IBytesLine"
name="widget"
factory=".Widget.BytesWidget." />