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

Dave Fregon axxs at axxs.org
Sun Feb 8 21:17:45 EST 2004


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

Modified Files:
      Tag: ozzope-widgets-branch
	configure.zcml 
Log Message:
reverted error on widget.py by inclusion of rotterdam references

checking to share completion of configure.zcml


=== Zope3/src/zope/app/browser/form/configure.zcml 1.25.4.1 => 1.25.4.2 ===
--- Zope3/src/zope/app/browser/form/configure.zcml:1.25.4.1	Sun Feb  8 18:54:21 2004
+++ Zope3/src/zope/app/browser/form/configure.zcml	Sun Feb  8 21:17:15 2004
@@ -10,21 +10,6 @@
        values, which is the porpose of zope.schema.Field -->
 
   <!-- XXX OZ this type of widget doesn't make sense - remove registration -->
-  <browser:page
-      permission="zope.Public"
-      allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
-      for="zope.schema.interfaces.IField"
-      name="edit"
-      class="zope.app.browser.form.widget.BrowserWidget"
-      />
-      
-  <browser:page
-      permission="zope.Public"
-      allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
-      for="zope.schema.interfaces.ITextLine"
-      name="edit"
-      class="zope.app.browser.form.widget.TextWidget"
-      />
       
   <view
       type="zope.publisher.interfaces.browser.IBrowserRequest"
@@ -34,284 +19,282 @@
       permission="zope.Public"
       />
 
-  <browser:page
-      permission="zope.Public"
-      allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
+  <view
+      type="zope.publisher.interfaces.browser.IBrowserRequest"
       for="zope.schema.interfaces.IText"
-      name="edit"
-      class="zope.app.browser.form.widget.TextAreaWidget"
+      provides="zope.app.interfaces.form.IEditWidget"
+      factory="zope.app.browser.form.widget.TextAreaWidget"
+      permission="zope.Public"
       />
 
-  <browser:page
-      permission="zope.Public"
-      allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
+  <view
+      type="zope.publisher.interfaces.browser.IBrowserRequest"
       for="zope.schema.interfaces.ISourceText"
-      name="edit"
-      class="zope.app.browser.form.widget.TextAreaWidget"
+      provides="zope.app.interfaces.form.IEditWidget"
+      factory="zope.app.browser.form.widget.TextAreaWidget"
+      permission="zope.Public"
       />
 
-  <browser:page
-      permission="zope.Public"
-      allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
+  <view
+      type="zope.publisher.interfaces.browser.IBrowserRequest"
       for="zope.schema.interfaces.IBytesLine"
-      name="edit"
-      class="zope.app.browser.form.widget.BytesWidget"
+      provides="zope.app.interfaces.form.IEditWidget"
+      factory="zope.app.browser.form.widget.BytesWidget"
+      permission="zope.Public"
       />
 
-  <browser:page
-      permission="zope.Public"
-      allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
+  <view
+      type="zope.publisher.interfaces.browser.IBrowserRequest"
       for="zope.schema.interfaces.IBytes"
-      name="edit"
-      class="zope.app.browser.form.widget.FileWidget"
+      provides="zope.app.interfaces.form.IEditWidget"
+      factory="zope.app.browser.form.widget.FileWidget"
+      permission="zope.Public"
       />
 
-  <browser:page
-      permission="zope.Public"
-      allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
+  <view
+      type="zope.publisher.interfaces.browser.IBrowserRequest"
       for="zope.schema.interfaces.IASCII"
-      name="edit"
-      class="zope.app.browser.form.widget.BytesAreaWidget"
+      provides="zope.app.interfaces.form.IEditWidget"
+      factory="zope.app.browser.form.widget.BytesAreaWidget"
+      permission="zope.Public"
       />
 
-  <browser:page
-      permission="zope.Public"
-      allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
+  <view
+      type="zope.publisher.interfaces.browser.IBrowserRequest"
       for="zope.schema.interfaces.IInt"
-      name="edit"
-      class="zope.app.browser.form.widget.IntWidget"
+      provides="zope.app.interfaces.form.IEditWidget"
+      factory="zope.app.browser.form.widget.IntWidget"
+      permission="zope.Public"
       />
 
-  <browser:page
-      permission="zope.Public"
-      allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
+  <view
+      type="zope.publisher.interfaces.browser.IBrowserRequest"
       for="zope.schema.interfaces.IFloat"
-      name="edit"
-      class="zope.app.browser.form.widget.FloatWidget"
+      provides="zope.app.interfaces.form.IEditWidget"
+      factory="zope.app.browser.form.widget.FloatWidget"
+      permission="zope.Public"
       />
 
-  <browser:page
-      permission="zope.Public"
-      allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
+  <view
+      type="zope.publisher.interfaces.browser.IBrowserRequest"
       for="zope.schema.interfaces.IDatetime"
-      name="edit"
-      class="zope.app.browser.form.widget.DatetimeWidget"
+      provides="zope.app.interfaces.form.IEditWidget"
+      factory="zope.app.browser.form.widget.DatetimeWidget"
+      permission="zope.Public"
       />
 
-  <browser:page
-      permission="zope.Public"
-      allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
+  <view
+      type="zope.publisher.interfaces.browser.IBrowserRequest"
       for="zope.schema.interfaces.IDate"
-      name="edit"
-      class="zope.app.browser.form.widget.DateWidget"
+      provides="zope.app.interfaces.form.IEditWidget"
+      factory="zope.app.browser.form.widget.DateWidget"
+      permission="zope.Public"
       />
 
-  <browser:page
-      permission="zope.Public"
-      allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
+  <view
+      type="zope.publisher.interfaces.browser.IBrowserRequest"
       for="zope.schema.interfaces.IBool"
-      name="edit"
-      class="zope.app.browser.form.widget.CheckBoxWidget"
+      provides="zope.app.interfaces.form.IEditWidget"
+      factory="zope.app.browser.form.widget.CheckBoxWidget"
+      permission="zope.Public"
       />
 
-  <browser:page
-      permission="zope.Public"
-      allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
+  <view
+      type="zope.publisher.interfaces.browser.IBrowserRequest"
       for="zope.schema.interfaces.ITuple"
-      name="edit"
-      class="zope.app.browser.form.widget.TupleSequenceWidget"
+      provides="zope.app.interfaces.form.IEditWidget"
+      factory="zope.app.browser.form.widget.TupleSequenceWidget"
+      permission="zope.Public"
       />
 
-  <browser:page
-      permission="zope.Public"
-      allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
+  <view
+      type="zope.publisher.interfaces.browser.IBrowserRequest"
       for="zope.schema.interfaces.IList"
-      name="edit"
-      class="zope.app.browser.form.widget.ListSequenceWidget"
+      provides="zope.app.interfaces.form.IEditWidget"
+      factory="zope.app.browser.form.widget.ListSequenceWidget"
+      permission="zope.Public"
       />
 
-  <browser:page
-      permission="zope.Public"
-      allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
+  <view
+      type="zope.publisher.interfaces.browser.IBrowserRequest"
       for="zope.schema.interfaces.IObject"
-      name="edit"
-      class="zope.app.browser.form.widget.ObjectWidget"
+      provides="zope.app.interfaces.form.IEditWidget"
+      factory="zope.app.browser.form.widget.ObjectWidget"
+      permission="zope.Public"
       />
 
-  <browser:page
-      permission="zope.Public"
-      allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
+  <view
+      type="zope.publisher.interfaces.browser.IBrowserRequest"
       for="zope.schema.interfaces.IPassword"
-      name="edit"
-      class="zope.app.browser.form.widget.PasswordWidget"
+      provides="zope.app.interfaces.form.IEditWidget"
+      factory="zope.app.browser.form.widget.PasswordWidget"
+      permission="zope.Public"
       />
 
   <!-- Widgets for enumerated field flavours -->
 
-  <browser:page
-      permission="zope.Public"
-      allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
+  <view
+      type="zope.publisher.interfaces.browser.IBrowserRequest"
       for="zope.schema.interfaces.IEnumeratedTextLine"
-      name="edit"
-      class=".enumerated.EnumeratedTextWidget"
-      />  
-
-  <browser:page
+      provides="zope.app.interfaces.form.IEditWidget"
+      factory="zope.app.browser.form.widget.EnumeratedTextWidget"
       permission="zope.Public"
-      allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
-      for="zope.schema.interfaces.IEnumeratedInt"
-      name="edit"
-      class=".enumerated.EnumeratedIntWidget"
-      />  
+      />
 
-  <browser:page
+  <view
+      type="zope.publisher.interfaces.browser.IBrowserRequest"
+      for="zope.schema.interfaces.IEnumeratedInt"
+      provides="zope.app.interfaces.form.IEditWidget"
+      factory="zope.app.browser.form.widget.EnumeratedIntWidget"
       permission="zope.Public"
-      allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
-      for="zope.schema.interfaces.IEnumeratedFloat"
-      name="edit"
-      class=".enumerated.EnumeratedFloatWidget"
       />
 
-  <browser:page
+  <view
+      type="zope.publisher.interfaces.browser.IBrowserRequest"
+      for="zope.schema.interfaces.IEnumeratedFloat"
+      provides="zope.app.interfaces.form.IEditWidget"
+      factory="zope.app.browser.form.widget.EnumeratedFloatWidget"
       permission="zope.Public"
-      allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
-      for="zope.schema.interfaces.IEnumeratedDatetime"
-      name="edit"
-      class=".enumerated.EnumeratedDatetimeWidget"
-      />  
+      />
 
-  <browser:page
+  <view
+      type="zope.publisher.interfaces.browser.IBrowserRequest"
+      for="zope.schema.interfaces.IEnumeratedDatetime"
+      provides="zope.app.interfaces.form.IEditWidget"
+      factory="zope.app.browser.form.widget.EnumeratedDatetimeWidget"
       permission="zope.Public"
-      allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
-      for="zope.schema.interfaces.IEnumeratedDate"
-      name="edit"
-      class=".enumerated.EnumeratedDateWidget"
-      />  
+      />
 
+  <view
+      type="zope.publisher.interfaces.browser.IBrowserRequest"
+      for="zope.schema.interfaces.IEnumeratedDate"
+      provides="zope.app.interfaces.form.IEditWidget"
+      factory="zope.app.browser.form.widget.EnumeratedDateWidget"
+      permission="zope.Public"
+      />
   <!-- Vocabulary fields share special widget factories that redirect
        to the vocabularies they reference. -->
 
   <!-- Single selection -->
+
   <view
-      permission="zope.Public"
       type="zope.publisher.interfaces.browser.IBrowserRequest"
-      allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
-      for="zope.schema.vocabulary.IVocabularyField"
-      name="display"
-      factory=".vocabularywidget.VocabularyFieldDisplayWidget"
+      for="zope.schema.interfaces.IVocabularyField"
+      provides="zope.app.interfaces.form.IEditWidget"
+      factory="zope.app.browser.form.widget.VocabularyFieldDisplayWidget"
+      permission="zope.Public"
       />
 
   <view
-      permission="zope.Public"
       type="zope.publisher.interfaces.browser.IBrowserRequest"
-      allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
-      for="zope.schema.vocabulary.IVocabularyField"
-      name="edit"
-      factory=".vocabularywidget.VocabularyFieldEditWidget"
+      for="zope.schema.interfaces.IVocabularyField"
+      provides="zope.app.interfaces.form.IEditWidget"
+      factory="zope.app.browser.form.widget.VocabularyFieldEditWidget"
+      permission="zope.Public"
       />
-
   <!-- Bags -->
+
   <view
-      permission="zope.Public"
       type="zope.publisher.interfaces.browser.IBrowserRequest"
-      allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
-      for="zope.schema.vocabulary.IVocabularyBagField"
-      name="display"
-      factory=".vocabularywidget.VocabularyBagFieldDisplayWidget"
+      for="zope.schema.interfaces.IVocabularyBagField"
+      provides="zope.app.interfaces.form.IEditWidget"
+      factory="zope.app.browser.form.widget.VocabularyBagFieldDisplayWidget"
+      permission="zope.Public"
       />
-
   <view
-      permission="zope.Public"
       type="zope.publisher.interfaces.browser.IBrowserRequest"
-      allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
-      for="zope.schema.vocabulary.IVocabularyBagField"
-      name="edit"
-      factory=".vocabularywidget.VocabularyBagFieldEditWidget"
+      for="zope.schema.interfaces.IVocabularyBagField"
+      provides="zope.app.interfaces.form.IEditWidget"
+      factory="zope.app.browser.form.widget.VocabularyBagFieldEditWidget"
+      permission="zope.Public"
       />
 
   <!-- Lists -->
+
   <view
-      permission="zope.Public"
       type="zope.publisher.interfaces.browser.IBrowserRequest"
-      allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
-      for="zope.schema.vocabulary.IVocabularyListField"
-      name="display"
-      factory=".vocabularywidget.VocabularyListFieldDisplayWidget"
+      for="zope.schema.interfaces.IVocabularyListField"
+      provides="zope.app.interfaces.form.IEditWidget"
+      factory="zope.app.browser.form.widget.VocabularyListFieldDisplayWidget"
+      permission="zope.Public"
       />
-
   <view
-      permission="zope.Public"
       type="zope.publisher.interfaces.browser.IBrowserRequest"
-      allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
-      for="zope.schema.vocabulary.IVocabularyListField"
-      name="edit"
-      factory=".vocabularywidget.VocabularyListFieldEditWidget"
+      for="zope.schema.interfaces.IVocabularyListField"
+      provides="zope.app.interfaces.form.IEditWidget"
+      factory="zope.app.browser.form.widget.VocabularyListFieldEditWidget"
+      permission="zope.Public"
       />
 
   <!-- Sets -->
+
   <view
-      permission="zope.Public"
       type="zope.publisher.interfaces.browser.IBrowserRequest"
-      allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
-      for="zope.schema.vocabulary.IVocabularySetField"
-      name="display"
-      factory=".vocabularywidget.VocabularySetFieldDisplayWidget"
+      for="zope.schema.interfaces.IVocabularySetField"
+      provides="zope.app.interfaces.form.IEditWidget"
+      factory="zope.app.browser.form.widget.VocabularySetFieldDisplayWidget"
+      permission="zope.Public"
       />
-
   <view
-      permission="zope.Public"
       type="zope.publisher.interfaces.browser.IBrowserRequest"
-      allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
-      for="zope.schema.vocabulary.IVocabularySetField"
-      name="edit"
-      factory=".vocabularywidget.VocabularySetFieldEditWidget"
+      for="zope.schema.interfaces.IVocabularySetField"
+      provides="zope.app.interfaces.form.IEditWidget"
+      factory="zope.app.browser.form.widget.VocabularySetFieldEditWidget"
+      permission="zope.Public"
       />
 
   <!-- Unique lists -->
+
   <view
-      permission="zope.Public"
       type="zope.publisher.interfaces.browser.IBrowserRequest"
-      allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
-      for="zope.schema.vocabulary.IVocabularyUniqueListField"
-      name="display"
-      factory=".vocabularywidget.VocabularyUniqueListFieldDisplayWidget"
+      for="zope.schema.interfaces.IVocabularyUniqueListField"
+      provides="zope.app.interfaces.form.IEditWidget"
+      factory=
+      "zope.app.browser.form.widget.VocabularyUniqueListFieldDisplayWidget"
+      permission="zope.Public"
       />
-
   <view
-      permission="zope.Public"
       type="zope.publisher.interfaces.browser.IBrowserRequest"
-      allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
-      for="zope.schema.vocabulary.IVocabularyUniqueListField"
-      name="edit"
-      factory=".vocabularywidget.VocabularyUniqueListFieldEditWidget"
+      for="zope.schema.interfaces.IVocabularyUniqueListField"
+      provides="zope.app.interfaces.form.IEditWidget"
+      factory=
+      "zope.app.browser.form.widget.VocabularyUniqueListFieldEditWidget"
+      permission="zope.Public"
       />
 
   <!-- Query view helpers -->
+
   <view
-      permission="zope.Public"
       type="zope.publisher.interfaces.browser.IBrowserRequest"
-      allowed_interface="zope.app.interfaces.browser.form.IVocabularyQueryView"
       for="zope.schema.interfaces.IIterableVocabularyQuery"
-      name="widget-query-helper"
-      factory=".vocabularywidget.IterableVocabularyQueryView"
+      provides="zope.app.interfaces.form.IEditWidget"
+      factory="zope.app.browser.form.widget.IterableVocabularyQueryViewWidget"
+      permission="zope.Public"
       />
-
   <view
-      permission="zope.Public"
       type="zope.publisher.interfaces.browser.IBrowserRequest"
-      allowed_interface="zope.app.interfaces.browser.form.IVocabularyQueryView"
-      for="zope.schema.interfaces.IIterableVocabularyQuery"
-      name="widget-query-list-helper"
-      factory=".vocabularywidget.IterableVocabularyQueryMultiView"
+      for="zope.schema.interfaces.IVocabularyQueryField"
+      provides="zope.app.interfaces.form.IEditWidget"
+      factory="zope.app.browser.form.widget.VocabularyQueryFieldWidget"
+      permission="zope.Public"
       />
 
-  <!-- Vocabulary field display widgets -->
   <view
+      type="zope.publisher.interfaces.browser.IBrowserRequest"
+      for="zope.schema.interfaces.IIterableVocabularyQueryField"
+      provides="zope.app.interfaces.form.IEditWidget"
+      factory=
+      "zope.app.browser.form.widget.IterableVocabularyQueryMultiViewWidget"
       permission="zope.Public"
+      />
+  <!-- Vocabulary field display widgets -->
+  
+  <view
       type="zope.publisher.interfaces.browser.IBrowserRequest"
-      factory=".vocabularywidget.VocabularyDisplayWidget"
-      name="field-display-widget"
-      for="zope.schema.interfaces.IVocabulary"
+      for="zope.schema.interfaces.IVocabularyDisplayWidget"
+      provides="zope.app.interfaces.form.IEditWidget"
+      factory="zope.app.browser.form.widget.VocabularyWidget"
+      permission="zope.Public"
       />
 
   <view
@@ -323,6 +306,14 @@
       />
 
   <view
+      type="zope.publisher.interfaces.browser.IBrowserRequest"
+      for="zope.schema.interfaces.IVocabularyDisplayWidget"
+      provides="zope.app.interfaces.form.IEditWidget"
+      factory="zope.app.browser.form.widget.VocabularyWidget"
+      permission="zope.Public"
+      />
+
+  <view
       permission="zope.Public"
       type="zope.publisher.interfaces.browser.IBrowserRequest"
       factory=".vocabularywidget.VocabularyListDisplayWidget"
@@ -330,6 +321,13 @@
       for="zope.schema.interfaces.IVocabulary"
       />
 
+  <view
+      type="zope.publisher.interfaces.browser.IBrowserRequest"
+      for="zope.schema.interfaces.IVocabularyDisplayWidget"
+      provides="zope.app.interfaces.form.IEditWidget"
+      factory="zope.app.browser.form.widget.VocabularyWidget"
+      permission="zope.Public"
+      />
   <view
       permission="zope.Public"
       type="zope.publisher.interfaces.browser.IBrowserRequest"




More information about the Zope3-Checkins mailing list