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

Shane Bryzak Shane_Bryzak at symantec.com
Sat Jan 27 09:05:38 EST 2007


  User: sbryzak2
  Date: 07/01/27 09:05:38

  Modified:    examples/seamspace/resources/WEB-INF  pages.xml
  Log:
  added friend's comments page
  
  Revision  Changes    Path
  1.14      +15 -1     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.13
  retrieving revision 1.14
  diff -u -b -r1.13 -r1.14
  --- pages.xml	26 Jan 2007 10:19:56 -0000	1.13
  +++ pages.xml	27 Jan 2007 14:05:38 -0000	1.14
  @@ -47,8 +47,22 @@
         <restrict>#{s:hasRole('admin')}</restrict>    
       </page>
          
  +    <page view-id="/profile.xhtml">
  +      <navigation from-action="#{friend.createComment}">
  +        <redirect view-id="/friendcomment.xhtml"/>
  +      </navigation>
  +    </page>
  +    
  +    <page view-id="/friendcomment.xhtml">
  +      <navigation from-action="#{friend.saveComment}">        
  +        <redirect view-id="/profile.xhtml">
  +          <param name="name" value="#{friendComment.member.memberName}"/>
  +        </redirect>
  +      </navigation>
  +    </page>
  +       
       <page view-id="*">
  -        <navigation from-action="#{login.logout}">
  +        <navigation from-action="#{identity.logout}">
               <redirect view-id="/home.xhtml"/>
           </navigation>
           
  
  
  



More information about the jboss-cvs-commits mailing list