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

Dan Allen dan.j.allen at gmail.com
Tue Jan 8 15:13:17 EST 2008


  User: dallen  
  Date: 08/01/08 15:13:17

  Modified:    seam-gen/view    edit.xhtml.ftl list.xhtml.ftl
                        view.xhtml.ftl
  Log:
  improve the language used to identify empty search results and empty associations.
  
  Revision  Changes    Path
  1.53      +2 -2      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.52
  retrieving revision 1.53
  diff -u -b -r1.52 -r1.53
  --- edit.xhtml.ftl	8 Jan 2008 15:58:54 -0000	1.52
  +++ edit.xhtml.ftl	8 Jan 2008 20:13:17 -0000	1.53
  @@ -89,7 +89,7 @@
   </#if>
       <div class="association" id="${property.name}Parent">
       
  -        <h:outputText value="No ${property.name}" 
  +        <h:outputText value="There is no ${property.name} associated with this ${componentName}." 
                      rendered="${'#'}{${homeName}.instance.${property.name} == null}"/>
           
           <rich:dataTable var="${parentName}" 
  @@ -170,7 +170,7 @@
   <#assign childPageName = childPojo.shortName>
   <#assign childEditPageName = childPojo.shortName + "Edit">
   <#assign childName = util.lower(childPojo.shortName)>
  -            <h:outputText value="No ${property.name}" 
  +            <h:outputText value="There are no ${property.name} associated with this ${componentName}." 
                          rendered="${'#'}{empty ${homeName}.${property.name}}"/>
           
               <rich:dataTable value="${'#'}{${homeName}.${property.name}}" 
  
  
  
  1.27      +1 -1      jboss-seam/seam-gen/view/list.xhtml.ftl
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: list.xhtml.ftl
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/seam-gen/view/list.xhtml.ftl,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -b -r1.26 -r1.27
  --- list.xhtml.ftl	8 Jan 2008 15:58:54 -0000	1.26
  +++ list.xhtml.ftl	8 Jan 2008 20:13:17 -0000	1.27
  @@ -61,7 +61,7 @@
           <f:facet name="header">${entityName} search results</f:facet>
       <div class="results" id="${componentName}List">
   
  -    <h:outputText value="No ${componentName} exists" 
  +    <h:outputText value="The ${componentName} search returned no results." 
                  rendered="${'#'}{empty ${listName}.resultList}"/>
                  
       <rich:dataTable id="${listName}" 
  
  
  
  1.28      +2 -2      jboss-seam/seam-gen/view/view.xhtml.ftl
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: view.xhtml.ftl
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/seam-gen/view/view.xhtml.ftl,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -b -r1.27 -r1.28
  --- view.xhtml.ftl	8 Jan 2008 15:58:54 -0000	1.27
  +++ view.xhtml.ftl	8 Jan 2008 20:13:17 -0000	1.28
  @@ -60,7 +60,7 @@
       <rich:tab label="${property.name}">
       <div class="association" id="${property.name}Parent">
           
  -        <h:outputText value="No ${property.name}" 
  +        <h:outputText value="There is no ${property.name} associated with this ${componentName}." 
                      rendered="${'#'}{${homeName}.instance.${property.name} == null}"/>
           
           <rich:dataTable var="${parentName}" 
  @@ -132,7 +132,7 @@
   <#assign childEditPageName = childPojo.shortName + "Edit">
   <#assign childName = util.lower(childPojo.shortName)>
   <#assign childHomeName = childName + "Home">
  -        <h:outputText value="No ${property.name}" 
  +        <h:outputText value="There are no ${property.name} associated with this ${componentName}."
                      rendered="${'#'}{empty ${homeName}.${property.name}}"/>
           
           <rich:dataTable value="${'#'}{${homeName}.${property.name}}" 
  
  
  



More information about the jboss-cvs-commits mailing list