[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/browser - form.py:1.3

Steve Alexander steve@cat-box.net
Mon, 6 Jan 2003 09:36:12 -0500


Update of /cvs-repository/Zope3/src/zope/app/interfaces/browser
In directory cvs.zope.org:/tmp/cvs-serv21599/src/zope/app/interfaces/browser

Modified Files:
	form.py 
Log Message:
Clarified exactly which methods are deprecated in IBrowserWidget.
Removed some extraneous whitespace.


=== Zope3/src/zope/app/interfaces/browser/form.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/interfaces/browser/form.py:1.2	Wed Dec 25 09:12:57 2002
+++ Zope3/src/zope/app/interfaces/browser/form.py	Mon Jan  6 09:36:08 2003
@@ -62,7 +62,6 @@
            into the content object."""
 
 
-
 class IWriteForm(IBrowserView):
     """This interface defines methods and attributes that are required to
     retrieve the data from the request and store them back into the."""
@@ -73,13 +72,10 @@
         to the context object."""
 
 
-
 class IForm(IReadForm, IWriteForm):
     """This is a complete form."""
 
 
-
-
 class IBrowserWidget(IWidget):
     """A field widget contains all the properties that are required
        to represent a field. Properties include css_sheet,
@@ -105,9 +101,16 @@
         """Render the widget as a hidden field
         """
 
+    def label():
+        """Render a label tag"""
+
+    def row():
+        """Render the widget as a table row with the label and input widget
+        """
 
-    # XXX The following methods are being supported for backward compatability
-    # They are depricated and will be refactored away eventually.
+    # XXX The following two methods are being supported for backward
+    # compatability. They are deprecated and will be refactored away
+    # eventually.
 
     def render(value):
         """Renders this widget as HTML using property values in field.
@@ -118,15 +121,6 @@
     def renderHidden(value):
         """Renders this widget as a hidden field.
         """
-
-    def label():
-        """Render a label tag"""
-
-    def row():
-        """Render the widget as a table row with the label and input widget
-        """
-
-
 
 
 class IFormCollaborationView(Interface):