[Zope3-checkins] CVS: Zope3/src/zope/app/browser/form - configure.zcml:1.15

Fred L. Drake, Jr. fred@zope.com
Mon, 23 Jun 2003 09:53:01 -0400


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

Modified Files:
	configure.zcml 
Log Message:
Updated the set of default vocabulary widget registrations; all
flavors of display widget are provided; these are good for
string-valued vocabularies.


=== Zope3/src/zope/app/browser/form/configure.zcml 1.14 => 1.15 ===
--- Zope3/src/zope/app/browser/form/configure.zcml:1.14	Fri Jun 20 02:42:05 2003
+++ Zope3/src/zope/app/browser/form/configure.zcml	Mon Jun 23 09:53:00 2003
@@ -215,39 +215,65 @@
       type="zope.publisher.interfaces.browser.IBrowserPresentation"
       allowed_interface="zope.app.interfaces.browser.form.IVocabularyQueryView"
       for="zope.schema.interfaces.IIterableVocabularyQuery"
-      name="widget-query-multi-helper"
+      name="widget-query-list-helper"
       factory=".vocabularywidget.IterableVocabularyQueryMultiView"
       />
 
+  <!-- Vocabulary field display widgets -->
   <view
       permission="zope.Public"
       type="zope.publisher.interfaces.browser.IBrowserPresentation"
-      factory=".vocabularywidget.VocabularyEditWidget"
-      name="field-edit-widget"
+      factory=".vocabularywidget.VocabularyDisplayWidget"
+      name="field-display-widget"
       for="zope.schema.interfaces.IVocabulary"
       />
 
   <view
       permission="zope.Public"
       type="zope.publisher.interfaces.browser.IBrowserPresentation"
-      factory=".vocabularywidget.VocabularyDisplayWidget"
-      name="field-display-widget"
+      factory=".vocabularywidget.VocabularyBagDisplayWidget"
+      name="field-bag-display-widget"
       for="zope.schema.interfaces.IVocabulary"
       />
 
   <view
       permission="zope.Public"
       type="zope.publisher.interfaces.browser.IBrowserPresentation"
-      factory=".vocabularywidget.VocabularyMultiEditWidget"
-      name="field-multi-edit"
+      factory=".vocabularywidget.VocabularyListDisplayWidget"
+      name="field-list-display-widget"
+      for="zope.schema.interfaces.IVocabulary"
+      />
+
+  <view
+      permission="zope.Public"
+      type="zope.publisher.interfaces.browser.IBrowserPresentation"
+      factory=".vocabularywidget.VocabularyBagDisplayWidget"
+      name="field-set-display-widget"
+      for="zope.schema.interfaces.IVocabulary"
+      />
+
+  <view
+      permission="zope.Public"
+      type="zope.publisher.interfaces.browser.IBrowserPresentation"
+      factory=".vocabularywidget.VocabularyListDisplayWidget"
+      name="field-unique-list-display-widget"
+      for="zope.schema.interfaces.IVocabulary"
+      />
+
+  <!-- Vocabulary edit widgets -->
+  <view
+      permission="zope.Public"
+      type="zope.publisher.interfaces.browser.IBrowserPresentation"
+      factory=".vocabularywidget.VocabularyEditWidget"
+      name="field-edit-widget"
       for="zope.schema.interfaces.IVocabulary"
       />
 
   <view
       permission="zope.Public"
       type="zope.publisher.interfaces.browser.IBrowserPresentation"
-      factory=".vocabularywidget.VocabularyMultiDisplayWidget"
-      name="field-multi-display"
+      factory=".vocabularywidget.VocabularyMultiEditWidget"
+      name="field-list-edit-widget"
       for="zope.schema.interfaces.IVocabulary"
       />