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

Shane Bryzak sbryzak at redhat.com
Sat Jan 5 03:28:00 EST 2008


  User: sbryzak2
  Date: 08/01/05 03:28:00

  Modified:    examples/seamspace/resources/WEB-INF  pages.xml
  Log:
  allow account creation from user manager screen
  
  Revision  Changes    Path
  1.33      +12 -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.32
  retrieving revision 1.33
  diff -u -b -r1.32 -r1.33
  --- pages.xml	3 Jan 2008 07:02:28 -0000	1.32
  +++ pages.xml	5 Jan 2008 08:28:00 -0000	1.33
  @@ -62,6 +62,18 @@
       
       <page view-id="/usermanager.xhtml" action="#{userSearch.loadUsers}">
         <restrict>#{s:hasRole('admin')}</restrict>    
  +      
  +      <navigation from-action="#{userAction.createUser}">
  +        <redirect view-id="/userdetail.xhtml"/>
  +      </navigation>
  +    </page>
  +    
  +    <page view-id="/userdetail.xhtml">
  +        <navigation from-action="#{userAction.save}">
  +          <rule if-outcome="success">
  +            <redirect view-id="/usermanager.xhtml"/>
  +          </rule>
  +        </navigation>
       </page>
       
       <page view-id="/profile.xhtml">
  
  
  



More information about the jboss-cvs-commits mailing list