[Zope-Checkins] SVN: Products.Five/branches/1.5/formlib/configure.zcml - replaced 'adapter' by 'view' directive

Yvo Schubbe y.2006_ at wcm-solutions.de
Mon Oct 30 12:08:41 EST 2006


Log message for revision 70997:
  - replaced 'adapter' by 'view' directive
  
  Not sure why, but this resolves problems with Zope 3.3.0. As soon as Zope 2.10 
  depends on a later version of Zope 3.3 this issue will disappear.

Changed:
  U   Products.Five/branches/1.5/formlib/configure.zcml

-=-
Modified: Products.Five/branches/1.5/formlib/configure.zcml
===================================================================
--- Products.Five/branches/1.5/formlib/configure.zcml	2006-10-30 15:56:47 UTC (rev 70996)
+++ Products.Five/branches/1.5/formlib/configure.zcml	2006-10-30 17:08:40 UTC (rev 70997)
@@ -9,9 +9,9 @@
       />
 
   <!-- Error view for 'Invalid' -->
-  <adapter
-      for="zope.publisher.interfaces.browser.IBrowserRequest
-           zope.interface.Invalid"
+  <view
+      type="zope.publisher.interfaces.browser.IBrowserRequest"
+      for="zope.interface.exceptions.Invalid"
       provides="zope.app.form.browser.interfaces.IWidgetInputErrorView"
       factory=".errors.InvalidErrorView"
       permission="zope.Public"



More information about the Zope-Checkins mailing list