[jboss-cvs] jboss-seam/examples/wiki/src/etc/WEB-INF ...

Christian Bauer christian at hibernate.org
Sun Apr 22 15:19:30 EDT 2007


  User: cbauer  
  Date: 07/04/22 15:19:30

  Modified:    examples/wiki/src/etc/WEB-INF  pages.xml
  Log:
  Added feature: Manual account creation (for admins)
  
  Revision  Changes    Path
  1.12      +22 -0     jboss-seam/examples/wiki/src/etc/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/wiki/src/etc/WEB-INF/pages.xml,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -b -r1.11 -r1.12
  --- pages.xml	21 Apr 2007 08:13:49 -0000	1.11
  +++ pages.xml	22 Apr 2007 19:19:30 -0000	1.12
  @@ -170,14 +170,36 @@
   
       <page view-id="/userHome.xhtml" action="#{browser.captureConversationEntryPoint}">
           <description>Managing Member Account</description>
  +        <navigation from-action="#{userHome.persist}">
  +            <rule>
  +                <redirect view-id="/userHome.xhtml">
  +                    <param name="userId" value="#{userHome.instance.id}"/>
  +                </redirect>
  +            </rule>
  +        </navigation>
       </page>
       
       <page view-id="/userRegister.xhtml" action="#{browser.captureConversationEntryPoint}">
           <description>Registration</description>
  +        <navigation from-action="#{userHome.persist}">
  +            <rule>
  +                <redirect view-id="/userHome.xhtml">
  +                    <param name="userId" value="#{userHome.instance.id}"/>
  +                </redirect>
  +            </rule>
  +        </navigation>
       </page>
   
       <page view-id="/userList.xhtml" action="#{browser.captureConversationEntryPoint}">
           <description>Searching Members (Results: #{userSearch.rowCount})</description>
  +        <navigation>
  +            <rule if-outcome="createUser">
  +                <begin-conversation flush-mode="MANUAL"/>
  +                <redirect view-id="/userRegister.xhtml">
  +                    <param name="lastConversationId" value="#{param.lastConversationId}"/>
  +                </redirect>
  +            </rule>
  +        </navigation>
       </page>
   
       <page view-id="/adminHome.xhtml" action="#{browser.captureConversationEntryPoint}">
  
  
  



More information about the jboss-cvs-commits mailing list