[Zope3-checkins] CVS: Zope3/src/zope/app/form - widget.py:1.10.4.3

Garrett Smith garrett at mojave-corp.com
Sat Feb 7 21:52:58 EST 2004


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

Modified Files:
      Tag: ozzope-widgets-branch
	widget.py 
Log Message:

Update to setup for widget interface creation.


=== Zope3/src/zope/app/form/widget.py 1.10.4.2 => 1.10.4.3 ===
--- Zope3/src/zope/app/form/widget.py:1.10.4.2	Sat Feb  7 21:47:07 2004
+++ Zope3/src/zope/app/form/widget.py	Sat Feb  7 21:52:26 2004
@@ -34,7 +34,6 @@
     _data = _data_marker
     
     visible = True
-    propertyNames = []
 
     def __init__(self, context, request):
         self.context = context
@@ -55,18 +54,6 @@
             return (ts.translate(text, "zope", context=self.request) or text)
         else:
             return text
-
-    # XXX OZ might be able to delete this
-    def getValue(self, name):
-        if name in self.propertyNames:
-            return getattr(self, name, None)
-            
-    # XXX OZ might be able to delete this
-    def getProperty(self, name):
-        if traceback.extract_stack()[-2][2] != 'getProperty':
-            warn("getValue is deprecated - use getProperty",
-                DeprecationWarning, 2)
-        return self.getValue(name)
 
     def setPrefix(self, prefix):
         if not prefix.endswith("."):




More information about the Zope3-Checkins mailing list