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

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


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

  Modified:    seam-gen/icefaces/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.8       +2 -2      jboss-seam/seam-gen/icefaces/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/icefaces/view/edit.xhtml.ftl,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -b -r1.7 -r1.8
  --- edit.xhtml.ftl	8 Jan 2008 15:58:54 -0000	1.7
  +++ edit.xhtml.ftl	8 Jan 2008 20:13:18 -0000	1.8
  @@ -96,7 +96,7 @@
   </#if>
   		<div class="association" id="${property.name}Parent">
       
  -        	<h:outputText id="edit${property.name}TextId" value="No ${property.name}" 
  +        	<h:outputText id="edit${property.name}TextId" value="There is no ${property.name} associated with this ${componentName}." 
                      rendered="${'#'}{${homeName}.instance.${property.name} == null}"/>
          	<ice:dataTable var="${parentName}" 
                      value="${'#'}{${homeName}.instance.${property.name}}" 
  @@ -176,7 +176,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}." 
   	                     id="edit${property.name}TextId"
                          rendered="${'#'}{empty ${homeName}.${property.name}}"/>
              <ice:dataTable value="${'#'}{${homeName}.${property.name}}" 
  
  
  
  1.8       +1 -1      jboss-seam/seam-gen/icefaces/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/icefaces/view/list.xhtml.ftl,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -b -r1.7 -r1.8
  --- list.xhtml.ftl	8 Jan 2008 15:58:54 -0000	1.7
  +++ list.xhtml.ftl	8 Jan 2008 20:13:18 -0000	1.8
  @@ -75,7 +75,7 @@
       <h3>${componentName}  search results</h3>
   
       <div class="searchResults" id="list${componentName}Results">
  -    <ice:outputText value="No ${componentName} exists" 
  +    <ice:outputText value="The ${componentName} search returned no results." 
                  rendered="${'#'}{empty ${listName}.resultList}"/>
                  
       <ice:dataTable id="${listName}TableId" 
  
  
  
  1.7       +2 -2      jboss-seam/seam-gen/icefaces/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/icefaces/view/view.xhtml.ftl,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -b -r1.6 -r1.7
  --- view.xhtml.ftl	8 Jan 2008 15:58:54 -0000	1.6
  +++ view.xhtml.ftl	8 Jan 2008 20:13:18 -0000	1.7
  @@ -71,7 +71,7 @@
   	<ice:panelTab id="view${property.name}panelTab" 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}." 
   		                  id="view${property.name}TextId"
                      rendered="${'#'}{${homeName}.instance.${property.name} == null}"/>
      
  @@ -145,7 +145,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}." 
   	                 id="view${property.name}ChildTextId"
                      rendered="${'#'}{empty ${homeName}.${property.name}}"/>
           
  
  
  



More information about the jboss-cvs-commits mailing list