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

Gavin King gavin.king at jboss.com
Thu Feb 22 22:19:07 EST 2007


  User: gavin   
  Date: 07/02/22 22:19:07

  Modified:    seam-gen/view   edit.xhtml.ftl editproperty.xhtml.ftl
  Log:
  indicate required fields
  
  Revision  Changes    Path
  1.39      +1 -0      jboss-seam/seam-gen/view/edit.xhtml.ftl
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: edit.xhtml.ftl
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/seam-gen/view/edit.xhtml.ftl,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -b -r1.38 -r1.39
  --- edit.xhtml.ftl	23 Feb 2007 01:21:13 -0000	1.38
  +++ edit.xhtml.ftl	23 Feb 2007 03:19:07 -0000	1.39
  @@ -33,6 +33,7 @@
                   </h:panelGrid>
               </s:validateAll>
           </div>
  +        <div><span class="required">*</span> required fields</div>
           
           <div class="actionButtons">
           
  
  
  
  1.9       +12 -2     jboss-seam/seam-gen/view/editproperty.xhtml.ftl
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: editproperty.xhtml.ftl
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/seam-gen/view/editproperty.xhtml.ftl,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -b -r1.8 -r1.9
  --- editproperty.xhtml.ftl	23 Feb 2007 01:21:13 -0000	1.8
  +++ editproperty.xhtml.ftl	23 Feb 2007 03:19:07 -0000	1.9
  @@ -6,7 +6,12 @@
   <#assign column = componentProperty.columnIterator.next()>
   <#assign propertyType = componentProperty.value.typeName>
   
  -                    <h:outputLabel for="${componentProperty.name}">${componentProperty.name}</h:outputLabel>
  +                    <h:outputLabel for="${componentProperty.name}">
  +                        ${componentProperty.name}
  +<#if !column.nullable>
  +                        <span class="required">*</span>
  +</#if>
  +                    </h:outputLabel>
                       <s:decorate id="${componentProperty.name}Decoration">
   <#if propertyType == "date">
                           <h:inputText id="${componentProperty.name}" 
  @@ -129,7 +134,12 @@
   <#assign column = property.columnIterator.next()>
   <#assign propertyType = property.value.typeName>
   
  -                    <h:outputLabel for="${property.name}">${property.name}</h:outputLabel>
  +                    <h:outputLabel for="${property.name}">
  +                        ${property.name}
  +<#if !column.nullable>
  +                        <span class="required">*</span>
  +</#if>
  +                    </h:outputLabel>
                       <s:decorate id="${property.name}Decoration">
   <#if propertyType == "date">
                           <h:inputText id="${property.name}" 
  
  
  



More information about the jboss-cvs-commits mailing list