[Zope3-checkins] CVS: Zope3/src/zope/app/browser/form -
configure.zcml:1.23 metaconfigure.py:1.6
Jim Fulton
cvs-admin at zope.org
Fri Nov 21 12:12:52 EST 2003
Update of /cvs-repository/Zope3/src/zope/app/browser/form
In directory cvs.zope.org:/tmp/cvs-serv32535/src/zope/app/browser/form
Modified Files:
configure.zcml metaconfigure.py
Log Message:
Views must now be registered for request rather than presentation
types.
=== Zope3/src/zope/app/browser/form/configure.zcml 1.22 => 1.23 ===
--- Zope3/src/zope/app/browser/form/configure.zcml:1.22 Fri Aug 15 20:42:49 2003
+++ Zope3/src/zope/app/browser/form/configure.zcml Fri Nov 21 12:12:19 2003
@@ -135,7 +135,7 @@
<!-- Single selection -->
<view
permission="zope.Public"
- type="zope.publisher.interfaces.browser.IBrowserPresentation"
+ type="zope.publisher.interfaces.browser.IBrowserRequest"
allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
for="zope.schema.vocabulary.IVocabularyField"
name="display"
@@ -144,7 +144,7 @@
<view
permission="zope.Public"
- type="zope.publisher.interfaces.browser.IBrowserPresentation"
+ type="zope.publisher.interfaces.browser.IBrowserRequest"
allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
for="zope.schema.vocabulary.IVocabularyField"
name="edit"
@@ -154,7 +154,7 @@
<!-- Bags -->
<view
permission="zope.Public"
- type="zope.publisher.interfaces.browser.IBrowserPresentation"
+ type="zope.publisher.interfaces.browser.IBrowserRequest"
allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
for="zope.schema.vocabulary.IVocabularyBagField"
name="display"
@@ -163,7 +163,7 @@
<view
permission="zope.Public"
- type="zope.publisher.interfaces.browser.IBrowserPresentation"
+ type="zope.publisher.interfaces.browser.IBrowserRequest"
allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
for="zope.schema.vocabulary.IVocabularyBagField"
name="edit"
@@ -173,7 +173,7 @@
<!-- Lists -->
<view
permission="zope.Public"
- type="zope.publisher.interfaces.browser.IBrowserPresentation"
+ type="zope.publisher.interfaces.browser.IBrowserRequest"
allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
for="zope.schema.vocabulary.IVocabularyListField"
name="display"
@@ -182,7 +182,7 @@
<view
permission="zope.Public"
- type="zope.publisher.interfaces.browser.IBrowserPresentation"
+ type="zope.publisher.interfaces.browser.IBrowserRequest"
allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
for="zope.schema.vocabulary.IVocabularyListField"
name="edit"
@@ -192,7 +192,7 @@
<!-- Sets -->
<view
permission="zope.Public"
- type="zope.publisher.interfaces.browser.IBrowserPresentation"
+ type="zope.publisher.interfaces.browser.IBrowserRequest"
allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
for="zope.schema.vocabulary.IVocabularySetField"
name="display"
@@ -201,7 +201,7 @@
<view
permission="zope.Public"
- type="zope.publisher.interfaces.browser.IBrowserPresentation"
+ type="zope.publisher.interfaces.browser.IBrowserRequest"
allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
for="zope.schema.vocabulary.IVocabularySetField"
name="edit"
@@ -211,7 +211,7 @@
<!-- Unique lists -->
<view
permission="zope.Public"
- type="zope.publisher.interfaces.browser.IBrowserPresentation"
+ type="zope.publisher.interfaces.browser.IBrowserRequest"
allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
for="zope.schema.vocabulary.IVocabularyUniqueListField"
name="display"
@@ -220,7 +220,7 @@
<view
permission="zope.Public"
- type="zope.publisher.interfaces.browser.IBrowserPresentation"
+ type="zope.publisher.interfaces.browser.IBrowserRequest"
allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
for="zope.schema.vocabulary.IVocabularyUniqueListField"
name="edit"
@@ -230,7 +230,7 @@
<!-- Query view helpers -->
<view
permission="zope.Public"
- type="zope.publisher.interfaces.browser.IBrowserPresentation"
+ type="zope.publisher.interfaces.browser.IBrowserRequest"
allowed_interface="zope.app.interfaces.browser.form.IVocabularyQueryView"
for="zope.schema.interfaces.IIterableVocabularyQuery"
name="widget-query-helper"
@@ -239,7 +239,7 @@
<view
permission="zope.Public"
- type="zope.publisher.interfaces.browser.IBrowserPresentation"
+ type="zope.publisher.interfaces.browser.IBrowserRequest"
allowed_interface="zope.app.interfaces.browser.form.IVocabularyQueryView"
for="zope.schema.interfaces.IIterableVocabularyQuery"
name="widget-query-list-helper"
@@ -249,7 +249,7 @@
<!-- Vocabulary field display widgets -->
<view
permission="zope.Public"
- type="zope.publisher.interfaces.browser.IBrowserPresentation"
+ type="zope.publisher.interfaces.browser.IBrowserRequest"
factory=".vocabularywidget.VocabularyDisplayWidget"
name="field-display-widget"
for="zope.schema.interfaces.IVocabulary"
@@ -257,7 +257,7 @@
<view
permission="zope.Public"
- type="zope.publisher.interfaces.browser.IBrowserPresentation"
+ type="zope.publisher.interfaces.browser.IBrowserRequest"
factory=".vocabularywidget.VocabularyBagDisplayWidget"
name="field-display-bag-widget"
for="zope.schema.interfaces.IVocabulary"
@@ -265,7 +265,7 @@
<view
permission="zope.Public"
- type="zope.publisher.interfaces.browser.IBrowserPresentation"
+ type="zope.publisher.interfaces.browser.IBrowserRequest"
factory=".vocabularywidget.VocabularyListDisplayWidget"
name="field-display-list-widget"
for="zope.schema.interfaces.IVocabulary"
@@ -273,7 +273,7 @@
<view
permission="zope.Public"
- type="zope.publisher.interfaces.browser.IBrowserPresentation"
+ type="zope.publisher.interfaces.browser.IBrowserRequest"
factory=".vocabularywidget.VocabularyBagDisplayWidget"
name="field-display-set-widget"
for="zope.schema.interfaces.IVocabulary"
@@ -281,7 +281,7 @@
<view
permission="zope.Public"
- type="zope.publisher.interfaces.browser.IBrowserPresentation"
+ type="zope.publisher.interfaces.browser.IBrowserRequest"
factory=".vocabularywidget.VocabularyListDisplayWidget"
name="field-display-unique-list-widget"
for="zope.schema.interfaces.IVocabulary"
@@ -290,7 +290,7 @@
<!-- Vocabulary edit widgets -->
<view
permission="zope.Public"
- type="zope.publisher.interfaces.browser.IBrowserPresentation"
+ type="zope.publisher.interfaces.browser.IBrowserRequest"
factory=".vocabularywidget.VocabularyEditWidget"
name="field-edit-widget"
for="zope.schema.interfaces.IVocabulary"
@@ -298,7 +298,7 @@
<view
permission="zope.Public"
- type="zope.publisher.interfaces.browser.IBrowserPresentation"
+ type="zope.publisher.interfaces.browser.IBrowserRequest"
factory=".vocabularywidget.VocabularyMultiEditWidget"
name="field-edit-list-widget"
for="zope.schema.interfaces.IVocabulary"
=== Zope3/src/zope/app/browser/form/metaconfigure.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/browser/form/metaconfigure.py:1.5 Wed Oct 22 15:13:55 2003
+++ Zope3/src/zope/app/browser/form/metaconfigure.py Fri Nov 21 12:12:19 2003
@@ -23,7 +23,7 @@
from zope.schema import getFieldNamesInOrder
from zope.app.interfaces.container import IAdding
-from zope.publisher.interfaces.browser import IBrowserPresentation
+from zope.publisher.interfaces.browser import IBrowserRequest
from zope.app.publisher.browser.globalbrowsermenuservice import \
menuItemDirective
@@ -93,7 +93,7 @@
self.bases, self.for_, self.fields)
def _discriminator(self):
- return ('view', self.for_, self.name, IBrowserPresentation,
+ return ('view', self.for_, self.name, IBrowserRequest,
self.layer)
class Pane:
More information about the Zope3-Checkins
mailing list