[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/form/browser/itemswidgets.py The label for the list items widgets could not point to the field, because

Stephan Richter srichter at cosmos.phy.tufts.edu
Wed Apr 5 15:42:44 EDT 2006


Log message for revision 66579:
  The label for the list items widgets could not point to the field, because 
  the id was missing. Of course, testbrowser did not like this at all. ;-)
  
  

Changed:
  U   Zope3/trunk/src/zope/app/form/browser/itemswidgets.py

-=-
Modified: Zope3/trunk/src/zope/app/form/browser/itemswidgets.py
===================================================================
--- Zope3/trunk/src/zope/app/form/browser/itemswidgets.py	2006-04-05 19:34:34 UTC (rev 66578)
+++ Zope3/trunk/src/zope/app/form/browser/itemswidgets.py	2006-04-05 19:42:44 UTC (rev 66579)
@@ -518,6 +518,7 @@
         rendered_items = self.renderItems(value)
         return renderElement(self.tag,
                              name=self.name + ':list',
+                             id=self.name,
                              multiple='multiple',
                              size=self.size,
                              contents="\n".join(rendered_items),



More information about the Zope3-Checkins mailing list