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

Casey Duncan casey@zope.com
Wed, 28 May 2003 17:24:59 -0400


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

Modified Files:
	configure.zcml 
Log Message:
Configure default vocabulary widgets


=== Zope3/src/zope/app/browser/form/configure.zcml 1.9 => 1.10 ===
--- Zope3/src/zope/app/browser/form/configure.zcml:1.9	Wed May 21 20:39:33 2003
+++ Zope3/src/zope/app/browser/form/configure.zcml	Wed May 28 17:24:58 2003
@@ -157,7 +157,39 @@
       name="widget-query-multi-helper"
       factory=".vocabularywidget.IterableVocabularyQueryMultiView"
       />
+      
+  <view
+      permission="zope.Public"
+      type="zope.publisher.interfaces.browser.IBrowserPresentation"
+      factory=".vocabularywidget.VocabularyEditWidget"
+      name="field-edit"
+      for="zope.schema.interfaces.IVocabulary"
+      />
+      
+  <view
+      permission="zope.Public"
+      type="zope.publisher.interfaces.browser.IBrowserPresentation"
+      factory=".vocabularywidget.VocabularyDisplayWidget"
+      name="field-display"
+      for="zope.schema.interfaces.IVocabulary"
+      />
+      
+  <view
+      permission="zope.Public"
+      type="zope.publisher.interfaces.browser.IBrowserPresentation"
+      factory=".vocabularywidget.VocabularyMultiEditWidget"
+      name="field-multi-edit"
+      for="zope.schema.interfaces.IVocabulary"
+      />
 
+  <view
+      permission="zope.Public"
+      type="zope.publisher.interfaces.browser.IBrowserPresentation"
+      factory=".vocabularywidget.VocabularyMultiDisplayWidget"
+      name="field-multi-display"
+      for="zope.schema.interfaces.IVocabulary"
+      />
+      
   <!-- Default simple display view -->
   <browser:page
       permission="zope.Public"