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

Gavin King gavin.king at jboss.com
Tue Nov 7 04:33:41 EST 2006


  User: gavin   
  Date: 06/11/07 04:33:41

  Modified:    seam-gen/view/layout    template.xhtml
  Added:       seam-gen/view/layout    menu.xhtml menu.xhtml.ftl
  Log:
  menu bar
  
  Revision  Changes    Path
  1.4       +1 -3      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.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- template.xhtml	3 Nov 2006 00:03:30 -0000	1.3
  +++ template.xhtml	7 Nov 2006 09:33:41 -0000	1.4
  @@ -13,9 +13,7 @@
   
   <body>
   
  -    <div class="menuButtons">
  -        <s:link view="/home.xhtml" value="Home"/>
  -    </div>
  +    <ui:include src="menu.xhtml"/>
   
   	<div class="body">
     
  
  
  
  1.1      date: 2006/11/07 09:33:41;  author: gavin;  state: Exp;jboss-seam/seam-gen/view/layout/menu.xhtml
  
  Index: menu.xhtml
  ===================================================================
  <div class="menuButtons" 
       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">
       <s:link view="/home.xhtml" value="Home"/>
  </div>
  
  
  
  1.1      date: 2006/11/07 09:33:41;  author: gavin;  state: Exp;jboss-seam/seam-gen/view/layout/menu.xhtml.ftl
  
  Index: menu.xhtml.ftl
  ===================================================================
  <div class="menuButtons" 
  		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">
  	<s:link view="/home.xhtml" value="Home"/>
  <#foreach entity in c2j.getPOJOIterator(cfg.classMappings)>
  	<s:link view="/${entity.shortName}List.xhtml" value="${entity.shortName} List" propagation="none"/>
  </#foreach>         
  </div>
  
  
  



More information about the jboss-cvs-commits mailing list