[Checkins] SVN: Sandbox/janwijbrand/zope.errorview/trunk/src/zope/errorview/errorview.zcml make sure the used directives have been set up
Jan-Wijbrand Kolman
janwijbrand at gmail.com
Tue Jan 18 11:06:19 EST 2011
Log message for revision 119660:
make sure the used directives have been set up
Changed:
U Sandbox/janwijbrand/zope.errorview/trunk/src/zope/errorview/errorview.zcml
-=-
Modified: Sandbox/janwijbrand/zope.errorview/trunk/src/zope/errorview/errorview.zcml
===================================================================
--- Sandbox/janwijbrand/zope.errorview/trunk/src/zope/errorview/errorview.zcml 2011-01-18 16:01:59 UTC (rev 119659)
+++ Sandbox/janwijbrand/zope.errorview/trunk/src/zope/errorview/errorview.zcml 2011-01-18 16:06:19 UTC (rev 119660)
@@ -1,47 +1,50 @@
<configure
- xmlns="http://namespaces.zope.org/zope"
- xmlns:browser="http://namespaces.zope.org/browser">
+ xmlns="http://namespaces.zope.org/zope"
+ xmlns:browser="http://namespaces.zope.org/browser">
-<view
+ <include package="zope.component" file="meta.zcml" />
+ <include package="zope.publisher" file="meta.zcml" />
+
+ <view
for="zope.security.interfaces.IUnauthorized"
type="zope.publisher.interfaces.http.IHTTPRequest"
name="index.html"
permission="zope.Public"
factory=".unauthorized.Unauthorized"
- />
+ />
-<browser:defaultView
+ <browser:defaultView
for="zope.security.interfaces.IUnauthorized"
layer="zope.publisher.interfaces.http.IHTTPRequest"
name="index.html"
- />
+ />
-<view
+ <view
for="zope.publisher.interfaces.ITraversalException"
type="zope.publisher.interfaces.http.IHTTPRequest"
name="index.html"
permission="zope.Public"
factory=".notfound.NotFound"
- />
+ />
-<browser:defaultView
+ <browser:defaultView
for="zope.publisher.interfaces.ITraversalException"
layer="zope.publisher.interfaces.http.IHTTPRequest"
name="index.html"
- />
+ />
-<view
+ <view
for="zope.publisher.interfaces.http.IMethodNotAllowed"
factory="zope.errorview.methodnotallowed.MethodNotAllowedView"
name="index.html"
type="zope.publisher.interfaces.http.IHTTPRequest"
permission="zope.Public"
- />
+ />
-<browser:defaultView
+ <browser:defaultView
for="zope.publisher.interfaces.http.IMethodNotAllowed"
layer="zope.publisher.interfaces.http.IHTTPRequest"
name="index.html"
- />
+ />
</configure>
More information about the checkins
mailing list