[Zope3-checkins] CVS: Zope3/src/zope/app/browser/form - vocabularywidget.py:1.26

Fred L. Drake, Jr. fred@zope.com
Mon, 2 Jun 2003 15:17:30 -0400


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

Modified Files:
	vocabularywidget.py 
Log Message:
try again: _showData sets optional to true, so do that here as well.


=== Zope3/src/zope/app/browser/form/vocabularywidget.py 1.25 => 1.26 ===
--- Zope3/src/zope/app/browser/form/vocabularywidget.py:1.25	Mon Jun  2 15:13:32 2003
+++ Zope3/src/zope/app/browser/form/vocabularywidget.py	Mon Jun  2 15:17:29 2003
@@ -151,7 +151,7 @@
         self.name = self._prefix + field.__name__
 
     def __call__(self):
-        return self.render(self.getData())
+        return self.render(self.getData(True))
 
     def render(self, value):
         raise NotImplementedError(