[jboss-cvs] jboss-seam/examples/dvdstore/web/admin ...

Gavin King gavin.king at jboss.com
Thu Feb 22 01:03:54 EST 2007


  User: gavin   
  Date: 07/02/22 01:03:54

  Modified:    examples/dvdstore/web/admin  admin.xhtml
  Log:
  fixed broken dvdstore, and now use pages.xml
  
  Revision  Changes    Path
  1.5       +2 -2      jboss-seam/examples/dvdstore/web/admin/admin.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: admin.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/dvdstore/web/admin/admin.xhtml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- admin.xhtml	1 Dec 2006 13:27:52 -0000	1.4
  +++ admin.xhtml	22 Feb 2007 06:03:54 -0000	1.5
  @@ -19,13 +19,13 @@
           </ui:define>
           
           <ui:define name="body">
  -            <f:subview rendered="#{!login.admin}">
  +            <f:subview rendered="#{!currentUser.admin}">
                   The admin screen is only administrative users.  Please
                   login to continue.  If you are looking for the store,
                   try <s:link view="/browse.xhtml" value="here" />.
               </f:subview>
   
  -            <f:subview rendered="#{login.admin}">
  +            <f:subview rendered="#{currentUser.admin}">
               <h1>Order Management</h1>
               
               <p>
  
  
  



More information about the jboss-cvs-commits mailing list