[Checkins] SVN: zope.app.http/trunk/src/zope/app/http/exception/configure.zcml Replace deprecated 'zope:defaultView'
Baiju M
baiju.m.mail at gmail.com
Wed Apr 1 12:02:28 EDT 2009
Log message for revision 98758:
Replace deprecated 'zope:defaultView'
directive with 'browser:defaultView'
Changed:
U zope.app.http/trunk/src/zope/app/http/exception/configure.zcml
-=-
Modified: zope.app.http/trunk/src/zope/app/http/exception/configure.zcml
===================================================================
--- zope.app.http/trunk/src/zope/app/http/exception/configure.zcml 2009-04-01 15:18:38 UTC (rev 98757)
+++ zope.app.http/trunk/src/zope/app/http/exception/configure.zcml 2009-04-01 16:02:27 UTC (rev 98758)
@@ -1,5 +1,6 @@
<configure
- xmlns="http://namespaces.zope.org/zope">
+ xmlns="http://namespaces.zope.org/zope"
+ xmlns:browser="http://namespaces.zope.org/browser">
<view
for="zope.security.interfaces.IUnauthorized"
@@ -9,9 +10,9 @@
factory=".unauthorized.Unauthorized"
/>
-<defaultView
+<browser:defaultView
for="zope.security.interfaces.IUnauthorized"
- type="zope.publisher.interfaces.http.IHTTPRequest"
+ layer="zope.publisher.interfaces.http.IHTTPRequest"
name="index.html"
/>
@@ -23,9 +24,9 @@
factory=".notfound.NotFound"
/>
-<defaultView
+<browser:defaultView
for="zope.publisher.interfaces.ITraversalException"
- type="zope.publisher.interfaces.http.IHTTPRequest"
+ layer="zope.publisher.interfaces.http.IHTTPRequest"
name="index.html"
/>
@@ -37,9 +38,9 @@
permission="zope.Public"
/>
-<defaultView
+<browser:defaultView
for="zope.app.publication.http.IMethodNotAllowed"
- type="zope.publisher.interfaces.http.IHTTPRequest"
+ layer="zope.publisher.interfaces.http.IHTTPRequest"
name="index.html"
/>
More information about the Checkins
mailing list