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

Gavin King gavin.king at jboss.com
Wed Nov 1 21:12:30 EST 2006


  User: gavin   
  Date: 06/11/01 21:12:30

  Modified:    seam-gen/freemarker-templates       CreateSFSBAction.ftl
                        CreateSFSBConversation.ftl CreateSLSBAction.ftl
                        action-page.ftl page.ftl
  Removed:     seam-gen/freemarker-templates       template.ftl
  Log:
  various improvements
  
  Revision  Changes    Path
  1.3       +1 -1      jboss-seam/seam-gen/freemarker-templates/CreateSFSBAction.ftl
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CreateSFSBAction.ftl
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/seam-gen/freemarker-templates/CreateSFSBAction.ftl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- CreateSFSBAction.ftl	2 Nov 2006 01:01:53 -0000	1.2
  +++ CreateSFSBAction.ftl	2 Nov 2006 02:12:30 -0000	1.3
  @@ -13,7 +13,7 @@
   @Name("${actionName}")
   public class ${actionName}Action implements ${actionName} {
   
  -    private @Logger log;
  +    @Logger private Log log;
   	
   	//seam-gen method
   	public String go()
  
  
  
  1.3       +1 -1      jboss-seam/seam-gen/freemarker-templates/CreateSFSBConversation.ftl
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CreateSFSBConversation.ftl
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/seam-gen/freemarker-templates/CreateSFSBConversation.ftl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- CreateSFSBConversation.ftl	2 Nov 2006 01:01:53 -0000	1.2
  +++ CreateSFSBConversation.ftl	2 Nov 2006 02:12:30 -0000	1.3
  @@ -15,7 +15,7 @@
   @Name("${actionName}")
   public class ${actionName}Action implements ${actionName} {
   	
  -    private @Logger log;
  +    @Logger private Log log;
   	
   	@Begin
   	public String begin()
  
  
  
  1.3       +1 -1      jboss-seam/seam-gen/freemarker-templates/CreateSLSBAction.ftl
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CreateSLSBAction.ftl
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/seam-gen/freemarker-templates/CreateSLSBAction.ftl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- CreateSLSBAction.ftl	2 Nov 2006 01:01:53 -0000	1.2
  +++ CreateSLSBAction.ftl	2 Nov 2006 02:12:30 -0000	1.3
  @@ -12,7 +12,7 @@
   @Name("${actionName}")
   public class ${actionName}Action implements ${actionName} {
   	
  -    private @Logger log;
  +    @Logger private Log log;
   	
       //seam-gen method
   	public String go()
  
  
  
  1.5       +6 -3      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.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- action-page.ftl	2 Nov 2006 01:30:55 -0000	1.4
  +++ action-page.ftl	2 Nov 2006 02:12:30 -0000	1.5
  @@ -9,11 +9,14 @@
                   template="layout/template.xhtml">
                          
   <ui:define name="body">
  -    <h1>Seam Generated Page named: "${pageName}"</h1>
  +    <h1>${pageName}</h1>
  +    <p>Action page created by seam-gen.</p>
       <h:form>
  +        <s:validateAll>
  +        </s:validateAll>
           <div>
  -            <h:commandButton styleClass="formButton" type="submit"
  -                  value="Test Action" action="${pound}{${actionName}.go}"/>     			  
  +            <h:commandButton id="go" styleClass="formButton"
  +                  value="Go!" action="${pound}{${actionName}.go}"/>     			  
           </div>
       </h:form>
   </ui:define>
  
  
  
  1.3       +6 -1      jboss-seam/seam-gen/freemarker-templates/page.ftl
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: page.ftl
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/seam-gen/freemarker-templates/page.ftl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- page.ftl	2 Nov 2006 01:01:53 -0000	1.2
  +++ page.ftl	2 Nov 2006 02:12:30 -0000	1.3
  @@ -8,7 +8,12 @@
                   template="layout/template.xhtml">
   
   <ui:define name="body">
  -    <h1>Seam Generated Page named: ${pageName}</h1>
  +    <h1>${pageName}</h1>
  +    <p>Page created by seam-gen.</p>
  +    <h:form>
  +        <s:validateAll>
  +        </s:validateAll>
  +    </h:form>
   </ui:define>
   
   </ui:composition>
  
  
  



More information about the jboss-cvs-commits mailing list