[jboss-cvs] jboss-seam/seam-gen/freemarker-templates ...

Gavin King gavin.king at jboss.com
Wed Nov 1 19:37:01 EST 2006


  User: gavin   
  Date: 06/11/01 19:37:01

  Modified:    seam-gen/freemarker-templates  action-page.ftl
  Log:
  minor improvements
  
  Revision  Changes    Path
  1.2       +20 -23    jboss-seam/seam-gen/freemarker-templates/action-page.ftl
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: action-page.ftl
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/seam-gen/freemarker-templates/action-page.ftl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- action-page.ftl	28 Oct 2006 17:56:04 -0000	1.1
  +++ action-page.ftl	2 Nov 2006 00:37:01 -0000	1.2
  @@ -1,25 +1,22 @@
   <#assign pound = "#">
  -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
  +<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
                         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  -<html xmlns="http://www.w3.org/1999/xhtml"
  +<ui:composition xmlns="http://www.w3.org/1999/xhtml"
         xmlns:s="http://jboss.com/products/seam/taglib"
         xmlns:ui="http://java.sun.com/jsf/facelets"
         xmlns:f="http://java.sun.com/jsf"
  -      xmlns:h="http://java.sun.com/jsf/html">
  -<body>
  -    <ui:composition template="/WEB-INF/layout/template.xhtml">
  +                xmlns:h="http://java.sun.com/jsf/html"
  +                template="/WEB-INF/layout/template.xhtml">
                          
         <ui:define name="body">
   		   <h1>Seam Generated Page named: "${pageName}"</h1>
   		   <h:form>
        			<div>     	
  -     						
        			   <h:commandButton styleClass="formButton" type="submit" 
                            value="Test Action" action="${pound}{${actionName}.doAction}"/>     			  
               </div>
      		</h:form>
   		</ui:define>
   		        
  -    </ui:composition> 
  -</body> 
  -</html>
  +</ui:composition>
  +
  
  
  



More information about the jboss-cvs-commits mailing list