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

Shane Bryzak Shane_Bryzak at symantec.com
Mon Jan 15 04:48:07 EST 2007


  User: sbryzak2
  Date: 07/01/15 04:48:07

  Modified:    examples/seamspace/resources/WEB-INF   exceptions.xml
                        pages.xml
  Log:
  blog comments
  
  Revision  Changes    Path
  1.2       +5 -0      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.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- exceptions.xml	12 Jan 2007 13:24:25 -0000	1.1
  +++ exceptions.xml	15 Jan 2007 09:48:06 -0000	1.2
  @@ -5,4 +5,9 @@
       <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>
  +    <end-conversation/>
  +  </exception>
  +
   </exceptions>
  \ No newline at end of file
  
  
  
  1.4       +17 -0     jboss-seam/examples/seamspace/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/seamspace/resources/WEB-INF/pages.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- pages.xml	9 Jan 2007 11:51:00 -0000	1.3
  +++ pages.xml	15 Jan 2007 09:48:07 -0000	1.4
  @@ -12,10 +12,27 @@
           </navigation>
       </page>
       
  +    <page view-id="">
  +    
  +    </page>
  +    
  +    <page view-id="/comment.xhtml">
  +      <navigation from-action="#{blog.saveComment}">
  +        <redirect view-id="/blogentry.xhtml">
  +          <!--param name="name" value="#{comment.blog.member.name}"/-->
  +          <!--param name="blogId" value="#{comment.blog.blogId}"/-->
  +        </redirect>
  +      </navigation>
  +    </page>
  +       
       <page view-id="*">
           <navigation from-action="#{login.logout}">
               <redirect view-id="/home.xhtml"/>
           </navigation>
  +        
  +        <navigation from-action="#{blog.createComment}">
  +          <redirect view-id="/comment.xhtml"/>
  +        </navigation>
       </page>
   
   </pages>
  \ No newline at end of file
  
  
  



More information about the jboss-cvs-commits mailing list