[jboss-cvs] jboss-seam/seam-gen/view/layout ...

Gavin King gavin.king at jboss.com
Tue Jan 30 23:45:37 EST 2007


  User: gavin   
  Date: 07/01/30 23:45:37

  Modified:    seam-gen/view/layout     menu.xhtml menu.xhtml.ftl
                        template.xhtml
  Added:       seam-gen/view/layout     loginout.xhtml
  Log:
  improve template
  
  Revision  Changes    Path
  1.3       +0 -2      jboss-seam/seam-gen/view/layout/menu.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: menu.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/seam-gen/view/layout/menu.xhtml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- menu.xhtml	31 Jan 2007 04:07:27 -0000	1.2
  +++ menu.xhtml	31 Jan 2007 04:45:36 -0000	1.3
  @@ -5,6 +5,4 @@
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:s="http://jboss.com/products/seam/taglib">
        <s:link view="/home.xhtml" value="Home"/>
  -     <s:link view="/login.xhtml" value="Login" rendered="#{not identity.loggedIn}"/>
  -     <s:link view="/home.xhtml" action="#{identity.logout}" value="Logout" rendered="#{identity.loggedIn}"/>
   </div>
  
  
  
  1.3       +0 -2      jboss-seam/seam-gen/view/layout/menu.xhtml.ftl
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: menu.xhtml.ftl
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/seam-gen/view/layout/menu.xhtml.ftl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- menu.xhtml.ftl	31 Jan 2007 04:07:27 -0000	1.2
  +++ menu.xhtml.ftl	31 Jan 2007 04:45:36 -0000	1.3
  @@ -5,8 +5,6 @@
   		xmlns:f="http://java.sun.com/jsf/core"
   		xmlns:s="http://jboss.com/products/seam/taglib">
   	<s:link view="/home.xhtml" value="Home"/>
  -	<s:link view="/login.xhtml" value="Login" rendered="${'#'}{not identity.loggedIn}"/>
  -	<s:link view="/home.xhtml" action="${'#'}{identity.logout}" value="Logout" rendered="${'#'}{identity.loggedIn}"/>
   <#foreach entity in c2j.getPOJOIterator(cfg.classMappings)>
   	<s:link view="/${entity.shortName}List.xhtml" value="${entity.shortName} List" propagation="none"/>
   </#foreach>         
  
  
  
  1.7       +7 -1      jboss-seam/seam-gen/view/layout/template.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: template.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/seam-gen/view/layout/template.xhtml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -b -r1.6 -r1.7
  --- template.xhtml	10 Dec 2006 15:42:03 -0000	1.6
  +++ template.xhtml	31 Jan 2007 04:45:36 -0000	1.7
  @@ -15,6 +15,7 @@
   <body>
   
       <ui:include src="menu.xhtml"/>
  +    <ui:include src="loginout.xhtml"/>
   
   	<div class="body">
     
  @@ -30,5 +31,10 @@
       
   	</div>
   
  +	<div class="footer">
  +		Powered by <a href="http://jboss.com/products/seam">Seam</a>.
  +		Generated by seam-gen.
  +	</div>
  +
   </body>
   </html>
  
  
  
  1.1      date: 2007/01/31 04:45:36;  author: gavin;  state: Exp;jboss-seam/seam-gen/view/layout/loginout.xhtml
  
  Index: loginout.xhtml
  ===================================================================
  <div class="loginout" 
       xmlns="http://www.w3.org/1999/xhtml"
       xmlns:ui="http://java.sun.com/jsf/facelets"
       xmlns:h="http://java.sun.com/jsf/html"
       xmlns:f="http://java.sun.com/jsf/core"
       xmlns:s="http://jboss.com/products/seam/taglib">
       <h:outputText value="Welcome, #{identity.username}" rendered="#{identity.loggedIn}"/>
       &#160;|&#160;
       <s:link view="/login.xhtml" value="Login" rendered="#{not identity.loggedIn}"/>
       <s:link view="/home.xhtml" action="#{identity.logout}" value="Logout" rendered="#{identity.loggedIn}"/>
       |
  </div>
  
  
  



More information about the jboss-cvs-commits mailing list