[jboss-cvs] jboss-seam/examples/contactlist/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/contactlist/resources/WEB-INF  exceptions.xml
  Log:
  use components dtd
  
  Revision  Changes    Path
  1.4       +10 -6     jboss-seam/examples/contactlist/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/contactlist/resources/WEB-INF/exceptions.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- exceptions.xml	10 Nov 2006 19:07:54 -0000	1.3
  +++ exceptions.xml	4 Feb 2007 03:51:02 -0000	1.4
  @@ -1,11 +1,13 @@
  -<!DOCTYPE exceptions PUBLIC
  +<!DOCTYPE pages PUBLIC
     "-//JBoss/Seam Exceptions Configuration DTD 1.1//EN"
  -  "http://jboss.com/products/seam/exceptions-1.1.dtd">
  +  "http://jboss.com/products/seam/pages-1.1.dtd">
   
  -<exceptions>
  +<pages>
      
      <exception class="javax.persistence.PersistenceException">
  -      <render>Database access failed</render>
  +      <redirect>
  +          <faces-message>Database access failed</faces-message>
  +      </redirect>
         <end-conversation/>
      </exception>
      
  @@ -14,8 +16,10 @@
      </exception>
      
      <exception>
  -      <redirect view-id="/search.xhtml">Unexpected failure</redirect>
  +      <redirect view-id="/search.xhtml">
  +          <faces-message>Unexpected failure</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