[Zope3-checkins] CVS: Zope3/src/zope/app/http/exception -
configure.zcml:1.6
Stephan Richter
srichter at cosmos.phy.tufts.edu
Sat Mar 20 12:10:59 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/http/exception
In directory cvs.zope.org:/tmp/cvs-serv23059/src/zope/app/http/exception
Modified Files:
configure.zcml
Log Message:
Adjusted ZCML to new defaultView implementation.
=== Zope3/src/zope/app/http/exception/configure.zcml 1.5 => 1.6 ===
--- Zope3/src/zope/app/http/exception/configure.zcml:1.5 Fri Nov 21 12:12:23 2003
+++ Zope3/src/zope/app/http/exception/configure.zcml Sat Mar 20 12:10:58 2004
@@ -1,6 +1,6 @@
<configure xmlns="http://namespaces.zope.org/zope">
-<defaultView
+<view
for="zope.exceptions.IUnauthorized"
type="zope.publisher.interfaces.http.IHTTPRequest"
name="index.html"
@@ -9,11 +9,23 @@
/>
<defaultView
+ for="zope.exceptions.IUnauthorized"
+ type="zope.publisher.interfaces.http.IHTTPRequest"
+ name="index.html"
+ />
+
+<view
for="zope.exceptions.INotFoundError"
type="zope.publisher.interfaces.http.IHTTPRequest"
name="index.html"
permission="zope.Public"
factory=".notfound.NotFound"
+ />
+
+<defaultView
+ for="zope.exceptions.INotFoundError"
+ type="zope.publisher.interfaces.http.IHTTPRequest"
+ name="index.html"
/>
</configure>
More information about the Zope3-Checkins
mailing list