[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/form/browser/configure.zcml Fix #696: register SetDisplayWidget for ISets with IChoice(IBaseVocabulary) values

Martijn Pieters mj at zopatista.com
Thu Aug 24 09:46:10 EDT 2006


Log message for revision 69760:
  Fix #696: register SetDisplayWidget for ISets with IChoice(IBaseVocabulary) values

Changed:
  U   Zope3/trunk/src/zope/app/form/browser/configure.zcml

-=-
Modified: Zope3/trunk/src/zope/app/form/browser/configure.zcml
===================================================================
--- Zope3/trunk/src/zope/app/form/browser/configure.zcml	2006-08-24 05:03:23 UTC (rev 69759)
+++ Zope3/trunk/src/zope/app/form/browser/configure.zcml	2006-08-24 13:46:08 UTC (rev 69760)
@@ -446,6 +446,15 @@
       factory=".MultiSelectSetWidget"
       permission="zope.Public"
       />
+      
+  <view
+      type="zope.publisher.interfaces.browser.IBrowserRequest"
+      for="zope.schema.interfaces.ISet
+           zope.schema.interfaces.IBaseVocabulary"
+      provides="zope.app.form.interfaces.IDisplayWidget"
+      factory=".SetDisplayWidget"
+      permission="zope.Public"
+      />
 
   <view
       type="zope.publisher.interfaces.browser.IBrowserRequest"



More information about the Zope3-Checkins mailing list