[Zope3-checkins] CVS: Zope3/src/zope/app/form - utility.py:1.30

Garrett Smith garrett at mojave-corp.com
Fri May 7 15:43:49 EDT 2004


Update of /cvs-repository/Zope3/src/zope/app/form
In directory cvs.zope.org:/tmp/cvs-serv32156/src/zope/app/form

Modified Files:
	utility.py 
Log Message:
Renamed widget title and description to label and hint, respectively.


=== Zope3/src/zope/app/form/utility.py 1.29 => 1.30 ===
--- Zope3/src/zope/app/form/utility.py:1.29	Thu Mar 18 22:17:30 2004
+++ Zope3/src/zope/app/form/utility.py	Fri May  7 15:43:49 2004
@@ -274,7 +274,7 @@
                     errors.append(v)
             elif field.required:
                 errors.append(MissingInputError(
-                    name, widget.title, 'the field is required'))
+                    name, widget.label, 'the field is required'))
             
     if errors:
         raise WidgetsError(errors, widgetsData=result)




More information about the Zope3-Checkins mailing list