[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/Forms/Views/Browser - IBrowserWidget.py:1.2.6.1

Deb dhazarika@zeomega.com
Tue, 22 Oct 2002 10:18:09 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/Forms/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv26539/lib/python/Zope/App/Forms/Views/Browser

Modified Files:
      Tag: Zope3-Bangalore-TTW-Branch
	IBrowserWidget.py 
Log Message:
changed documentation and added a new method in IWidget


=== Zope3/lib/python/Zope/App/Forms/Views/Browser/IBrowserWidget.py 1.2 => 1.2.6.1 ===
--- Zope3/lib/python/Zope/App/Forms/Views/Browser/IBrowserWidget.py:1.2	Tue Jul 16 10:03:02 2002
+++ Zope3/lib/python/Zope/App/Forms/Views/Browser/IBrowserWidget.py	Tue Oct 22 10:18:08 2002
@@ -26,8 +26,11 @@
     """
 
 
-    def render(value):
-        """Renders this widget as HTML using property values in field."""
+    def render(value=None):
+        """Renders this widget as HTML using property values in field.
+
+        The value if given will be used as the default value for the widget.        
+        """
 
         
     def render_hidden(field, key, value):