[jboss-cvs] jboss-seam/examples/booking/resources/WEB-INF ...

Shane Bryzak sbryzak at redhat.com
Tue Feb 20 01:00:50 EST 2007


  User: sbryzak2
  Date: 07/02/20 01:00:50

  Modified:    examples/booking/resources/WEB-INF  pages.xml
  Log:
  add NotLoggedIn exception handler
  
  Revision  Changes    Path
  1.18      +6 -0      jboss-seam/examples/booking/resources/WEB-INF/pages.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: pages.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/booking/resources/WEB-INF/pages.xml,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -b -r1.17 -r1.18
  --- pages.xml	13 Feb 2007 06:51:11 -0000	1.17
  +++ pages.xml	20 Feb 2007 06:00:50 -0000	1.18
  @@ -94,4 +94,10 @@
           
       </page>
   
  +    <exception class="org.jboss.seam.security.NotLoggedInException">
  +        <redirect view-id="/home.xhtml">
  +            <message severity="warn">You must be logged in to use this feature</message>
  +        </redirect>
  +    </exception>
  +
   </pages>
  \ No newline at end of file
  
  
  



More information about the jboss-cvs-commits mailing list