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

James Williams james.williams at jboss.com
Thu Nov 2 15:38:41 EST 2006


  User: jwilliams
  Date: 06/11/02 15:38:41

  Modified:    jboss-seam/seam-gen/freemarker-templates     
                        CreateSFSBAction.ftl CreateSLSBAction.ftl
                        CreateSFSBConversation.ftl Entity.ftl
                        action-page.ftl
  Log:
  Added "componentName" so that generated file picks up a lower case
  first letter of the action, not the same name as the action class name.
  
  Revision  Changes    Path
  1.5       +2 -2      /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.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- CreateSFSBAction.ftl	2 Nov 2006 03:10:54 -0000	1.4
  +++ CreateSFSBAction.ftl	2 Nov 2006 20:38:41 -0000	1.5
  @@ -8,7 +8,7 @@
   import org.jboss.seam.log.Log;
   
   @Stateful
  - at Name("${actionName}")
  + at Name("${componentName}")
   public class ${actionName}Action implements ${actionName} {
   
       @Logger private Log log;
  
  
  
  1.5       +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.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- CreateSLSBAction.ftl	2 Nov 2006 03:10:54 -0000	1.4
  +++ CreateSLSBAction.ftl	2 Nov 2006 20:38:41 -0000	1.5
  @@ -7,7 +7,7 @@
   import org.jboss.seam.log.Log;
   
   @Stateless
  - at Name("${actionName}")
  + at Name("${componentName}")
   public class ${actionName}Action implements ${actionName} {
   	
       @Logger private Log log;
  
  
  
  1.5       +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.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- CreateSFSBConversation.ftl	2 Nov 2006 03:10:54 -0000	1.4
  +++ CreateSFSBConversation.ftl	2 Nov 2006 20:38:41 -0000	1.5
  @@ -10,7 +10,7 @@
   import org.jboss.seam.log.Log;
   
   @Stateful
  - at Name("${actionName}")
  + at Name("${componentName}")
   public class ${actionName}Action implements ${actionName} {
   	
       @Logger private Log log;
  
  
  
  1.3       +1 -1      /jboss-seam/seam-gen/freemarker-templates/Entity.ftl
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Entity.ftl
  ===================================================================
  RCS file: /cvsroot/jboss//jboss-seam/seam-gen/freemarker-templates/Entity.ftl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- Entity.ftl	2 Nov 2006 01:01:53 -0000	1.2
  +++ Entity.ftl	2 Nov 2006 20:38:41 -0000	1.3
  @@ -7,7 +7,7 @@
   import org.jboss.seam.annotations.Name;
   
   @Entity
  - at Name("${actionName}")
  + at Name("${componentName}")
   public class ${actionName} implements Serializable {
   	
   	//seam-gen attributes (you should probably edit these)
  
  
  
  1.6       +1 -1      /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.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- action-page.ftl	2 Nov 2006 02:12:30 -0000	1.5
  +++ action-page.ftl	2 Nov 2006 20:38:41 -0000	1.6
  @@ -16,7 +16,7 @@
           </s:validateAll>
           <div>
               <h:commandButton id="go" styleClass="formButton"
  -                  value="Go!" action="${pound}{${actionName}.go}"/>     			  
  +                  value="Go!" action="${pound}{${componentName}.go}"/>     			  
           </div>
       </h:form>
   </ui:define>
  
  
  



More information about the jboss-cvs-commits mailing list