[jboss-cvs] jboss-seam/examples/seamspace/resources/WEB-INF ...
Gavin King
gavin.king at jboss.com
Sat Feb 3 22:51:02 EST 2007
User: gavin
Date: 07/02/03 22:51:02
Modified: examples/seamspace/resources/WEB-INF exceptions.xml
Log:
use components dtd
Revision Changes Path
1.3 +14 -6 jboss-seam/examples/seamspace/resources/WEB-INF/exceptions.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: exceptions.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/seamspace/resources/WEB-INF/exceptions.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- exceptions.xml 15 Jan 2007 09:48:06 -0000 1.2
+++ exceptions.xml 4 Feb 2007 03:51:02 -0000 1.3
@@ -1,13 +1,21 @@
-<exceptions>
+<!DOCTYPE pages PUBLIC
+ "-//JBoss/Seam Exceptions Configuration DTD 1.1//EN"
+ "http://jboss.com/products/seam/pages-1.1.dtd">
+
+<pages>
<exception class="org.jboss.seam.security.NotLoggedInException">
- <redirect view-id="/register.xhtml">You must be a member to use this feature</redirect>
+ <redirect view-id="/register.xhtml">
+ <faces-message>You must be a member to use this feature</faces-message>
+ </redirect>
<end-conversation/>
</exception>
<exception class="org.jboss.seam.security.AuthorizationException">
- <redirect view-id="/security_error.xhtml">You do not have the necessary privileges to carry out the requested action.</redirect>
+ <redirect view-id="/security_error.xhtml">
+ <faces-message>You do not have the necessary privileges to carry out the requested action.</faces-message>
+ </redirect>
<end-conversation/>
</exception>
-</exceptions>
\ No newline at end of file
+</pages>
\ No newline at end of file
More information about the jboss-cvs-commits
mailing list