[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Formulator - Widget.py:1.1.4.4

Steve Alexander steve@cat-box.net
Sat, 8 Jun 2002 17:51:16 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/Formulator
In directory cvs.zope.org:/tmp/cvs-serv8699/lib/python/Zope/App/Formulator

Modified Files:
      Tag: Zope-3x-branch
	Widget.py 
Log Message:
changed getContext in .pt files to context
added second, unused, request argument to Widget's __init__ method.


=== Zope3/lib/python/Zope/App/Formulator/Widget.py 1.1.4.3 => 1.1.4.4 ===
 
 
-    def __init__(self, field):
+    def __init__(self, field, request=None):
         """ """
+        # XXX: the rest of the framework expects the arguments to
+        #      be (context, request). The request argument is not
+        #      used in this class.
         self.context = field
 
     def getValue(self, name):