[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/browser -
form.py:1.14
Gary Poster
gary at zope.com
Thu Sep 25 17:43:14 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/interfaces/browser
In directory cvs.zope.org:/tmp/cvs-serv353/interfaces/browser
Modified Files:
form.py
Log Message:
Add an error method for widgets. Add tests for it.
=== Zope3/src/zope/app/interfaces/browser/form.py 1.13 => 1.14 ===
--- Zope3/src/zope/app/interfaces/browser/form.py:1.13 Mon Jul 14 11:28:32 2003
+++ Zope3/src/zope/app/interfaces/browser/form.py Thu Sep 25 17:43:13 2003
@@ -93,6 +93,10 @@
def label():
"""Render a label tag"""
+
+ def error():
+ """Render the validation error for the widget, or return
+ an empty string if no error"""
def row():
"""Render the widget as two or three div elements,
More information about the Zope3-Checkins
mailing list