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

Gavin King gavin.king at jboss.com
Fri Feb 23 12:07:03 EST 2007


  User: gavin   
  Date: 07/02/23 12:07:03

  Modified:    seam-gen/view  edit.xhtml.ftl
  Log:
  required associations
  
  Revision  Changes    Path
  1.40      +6 -1      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.39
  retrieving revision 1.40
  diff -u -b -r1.39 -r1.40
  --- edit.xhtml.ftl	23 Feb 2007 03:19:07 -0000	1.39
  +++ edit.xhtml.ftl	23 Feb 2007 17:07:02 -0000	1.40
  @@ -76,7 +76,12 @@
   
       <div class="association" id="${property.name}Parent">
       
  -        <h3>${property.name}</h3>
  +        <h3>
  +           ${property.name}
  +<#if !property.optional>
  +           <s:span styleClass="required" rendered="${'#'}{${homeName}.instance.${property.name} == null}">*</s:span>
  +</#if>
  +        </h3>
       
           <h:outputText value="No ${property.name}" 
                      rendered="${'#'}{${homeName}.instance.${property.name} == null}"/>
  
  
  



More information about the jboss-cvs-commits mailing list