[seam-commits] Seam SVN: r8474 - branches/Seam_2_0/seam-gen/resources/WEB-INF.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Wed Jul 16 14:00:03 EDT 2008


Author: dan.j.allen
Date: 2008-07-16 14:00:03 -0400 (Wed, 16 Jul 2008)
New Revision: 8474

Modified:
   branches/Seam_2_0/seam-gen/resources/WEB-INF/pages.xml
Log:
specify severities in messages


Modified: branches/Seam_2_0/seam-gen/resources/WEB-INF/pages.xml
===================================================================
--- branches/Seam_2_0/seam-gen/resources/WEB-INF/pages.xml	2008-07-16 17:58:10 UTC (rev 8473)
+++ branches/Seam_2_0/seam-gen/resources/WEB-INF/pages.xml	2008-07-16 18:00:03 UTC (rev 8474)
@@ -16,44 +16,44 @@
 
     <exception class="org.jboss.seam.framework.EntityNotFoundException">
         <redirect view-id="/error.xhtml">
-            <message>Not found</message>
+            <message severity="warn">Not found</message>
         </redirect>
     </exception>
     
     <exception class="javax.persistence.EntityNotFoundException">
         <redirect view-id="/error.xhtml">
-            <message>Not found</message>
+            <message severity="warn">Not found</message>
         </redirect>
     </exception>
     
     <exception class="javax.persistence.OptimisticLockException">
         <end-conversation/>
         <redirect view-id="/error.xhtml">
-            <message>Another user changed the same data, please try again</message>
+            <message severity="warn">Another user changed the same data, please try again</message>
         </redirect>
     </exception>
     
     <exception class="org.jboss.seam.security.AuthorizationException">
         <redirect view-id="/error.xhtml">
-            <message>You don't have permission to do this</message>
+            <message severity="error">You don't have permission to do this</message>
         </redirect>
     </exception>
     
     <exception class="org.jboss.seam.security.NotLoggedInException">
         <redirect view-id="/login.xhtml">
-            <message>Please log in first</message>
+            <message severity="warn">Please log in first</message>
         </redirect>
     </exception>
     
     <exception class="javax.faces.application.ViewExpiredException">
         <redirect view-id="/error.xhtml">
-            <message>Your session has timed out, please try again</message>
+            <message severity="warn">Your session has timed out, please try again</message>
         </redirect>
     </exception>
      
     <exception>
         <redirect view-id="/error.xhtml">
-            <message>Unexpected error, please try again</message>
+            <message severity="error">Unexpected error, please try again</message>
         </redirect>
     </exception>
     




More information about the seam-commits mailing list