[Zope3-checkins] CVS: Zope3/src/zope/app/browser/form -
vocabularywidget.py:1.56
Fred L. Drake, Jr.
fred at zope.com
Mon Aug 25 11:30:27 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/browser/form
In directory cvs.zope.org:/tmp/cvs-serv9611
Modified Files:
vocabularywidget.py
Log Message:
update some comments
=== Zope3/src/zope/app/browser/form/vocabularywidget.py 1.55 => 1.56 ===
--- Zope3/src/zope/app/browser/form/vocabularywidget.py:1.55 Wed Aug 20 15:10:40 2003
+++ Zope3/src/zope/app/browser/form/vocabularywidget.py Mon Aug 25 10:30:27 2003
@@ -85,9 +85,6 @@
def _get_vocabulary_widget(field, request, viewname):
view = getView(field.vocabulary, "field-%s-widget" % viewname, request)
- # XXX: The hack of the century. After all ZCML attempts via ZCML failed,
- # this is the only way I could find to make it work! (SR)
- # Fred, please have a look at this.
view = trustedRemoveSecurityProxy(view)
view.setField(field)
return view
@@ -131,6 +128,8 @@
# Widget implementation:
class ViewSupport(object, TranslationHook):
+ # This is mixed into the vocabulary widget base classes.
+
"""Helper class for vocabulary and vocabulary-query widgets."""
def textForValue(self, term):
More information about the Zope3-Checkins
mailing list