[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/Forms - IWidget.py:1.3.4.1
Deb
dhazarika@zeomega.com
Tue, 22 Oct 2002 10:18:09 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/Forms
In directory cvs.zope.org:/tmp/cvs-serv26539/lib/python/Zope/App/Forms
Modified Files:
Tag: Zope3-Bangalore-TTW-Branch
IWidget.py
Log Message:
changed documentation and added a new method in IWidget
=== Zope3/lib/python/Zope/App/Forms/IWidget.py 1.3 => 1.3.4.1 ===
--- Zope3/lib/python/Zope/App/Forms/IWidget.py:1.3 Wed Oct 9 09:26:06 2002
+++ Zope3/lib/python/Zope/App/Forms/IWidget.py Tue Oct 22 10:18:08 2002
@@ -51,4 +51,9 @@
This is the text that will be used to label the widget.
"""
-
+ def setData(value):
+ """Set the default data for the widget.
+
+ The given value should only be used if the user hasn't entered any data
+ and the data should be a valid data for the field.
+ """