[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/form/browser/configure.zcml Registering SourceSequenceDisplayWidget also for sets

Christian Zagrodnick cz at gocept.com
Wed Apr 25 05:57:46 EDT 2007


Log message for revision 74744:
  Registering SourceSequenceDisplayWidget also for sets

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	2007-04-25 09:54:38 UTC (rev 74743)
+++ Zope3/trunk/src/zope/app/form/browser/configure.zcml	2007-04-25 09:57:46 UTC (rev 74744)
@@ -562,8 +562,18 @@
       factory=".source.SourceSequenceDisplayWidget"
       permission="zope.Public"
       />
+  
+    <adapter
+      for="zope.schema.interfaces.IAbstractSet
+           zope.schema.interfaces.ISource
+           zope.publisher.interfaces.browser.IBrowserRequest"
+      provides="zope.app.form.interfaces.IDisplayWidget"
+      factory=".source.SourceSequenceDisplayWidget"
+      permission="zope.Public"
+      />
 
 
+
   <!-- TODO We need a widget for tuples (and sets, for that matter). -->
   <adapter
       for="zope.schema.interfaces.IList



More information about the Zope3-Checkins mailing list