[Zope3-checkins] CVS: Zope3/src/zope/app/browser/exception - default.pt:1.2 configure.zcml:1.7

Jim Fulton cvs-admin at zope.org
Fri Nov 21 12:11:09 EST 2003


Update of /cvs-repository/Zope3/src/zope/app/browser/exception
In directory cvs.zope.org:/tmp/cvs-serv31252/src/zope/app/browser/exception

Modified Files:
	configure.zcml 
Added Files:
	default.pt 
Log Message:
Added a view for IException.  This is needed to prevent inheriting the
HTTP view for not found errors.


=== Zope3/src/zope/app/browser/exception/default.pt 1.1 => 1.2 ===
--- /dev/null	Fri Nov 21 12:11:09 2003
+++ Zope3/src/zope/app/browser/exception/default.pt	Fri Nov 21 12:11:09 2003
@@ -0,0 +1,5 @@
+<html><title>System Error</title>
+<body>
+  A system error occurred.
+</body>
+</html>


=== Zope3/src/zope/app/browser/exception/configure.zcml 1.6 => 1.7 ===
--- Zope3/src/zope/app/browser/exception/configure.zcml:1.6	Mon Aug 25 15:28:33 2003
+++ Zope3/src/zope/app/browser/exception/configure.zcml	Fri Nov 21 12:11:09 2003
@@ -2,25 +2,35 @@
    xmlns:zope="http://namespaces.zope.org/zope"
    xmlns="http://namespaces.zope.org/browser">
 
+  <page 
+      for="zope.interface.common.interfaces.IException"
+      name="index.html"
+      template="default.pt"
+      permission="zope.Public"
+      />
+
   <page
       for="zope.exceptions.IUnauthorized"
       name="index.html"
       permission="zope.Public"
       template="unauthorized.pt"
-      class=".unauthorized.Unauthorized" />
+      class=".unauthorized.Unauthorized" 
+      />
 
   <page
       for="zope.app.interfaces.exceptions.IUserError"
       name="index.html"
       permission="zope.Public"
       template="user.pt"
-      class=".user.UserErrorView" />
+      class=".user.UserErrorView" 
+      />
 
   <page
       for="zope.app.interfaces.form.IWidgetInputError"
       name="snippet"
       permission="zope.Public"
       class=".form.WidgetInputErrorView"
-      attribute="snippet" />
+      attribute="snippet" 
+      />
 
 </zope:configure>




More information about the Zope3-Checkins mailing list