[seam-commits] Seam SVN: r8009 - branches/Seam_2_0/seam-gen/icefaces/view.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Wed Apr 23 10:41:17 EDT 2008


Author: jguglielmin
Date: 2008-04-23 10:41:17 -0400 (Wed, 23 Apr 2008)
New Revision: 8009

Modified:
   branches/Seam_2_0/seam-gen/icefaces/view/list.xhtml
   branches/Seam_2_0/seam-gen/icefaces/view/list.xhtml.ftl
   branches/Seam_2_0/seam-gen/icefaces/view/view.xhtml.ftl
Log:
fixes as per http://jira.icefaces.org/browse/ICE-2684
Also added resizable columns to dataTables in <entity>list view

Modified: branches/Seam_2_0/seam-gen/icefaces/view/list.xhtml
===================================================================
--- branches/Seam_2_0/seam-gen/icefaces/view/list.xhtml	2008-04-23 14:39:35 UTC (rev 8008)
+++ branches/Seam_2_0/seam-gen/icefaces/view/list.xhtml	2008-04-23 14:41:17 UTC (rev 8009)
@@ -27,6 +27,7 @@
             	rendered="#{empty @listName at .resultList}"/>
     		<ice:dataTable id="@listName at TableId" var="@componentName@"
            			 value="#{@listName at .resultList}" 
+                        resizable="true"
 				columnClasses="allCols"
            			rendered="#{not empty @listName at .resultList}">
         		<ice:column id="list at componentName@.id">

Modified: branches/Seam_2_0/seam-gen/icefaces/view/list.xhtml.ftl
===================================================================
--- branches/Seam_2_0/seam-gen/icefaces/view/list.xhtml.ftl	2008-04-23 14:39:35 UTC (rev 8008)
+++ branches/Seam_2_0/seam-gen/icefaces/view/list.xhtml.ftl	2008-04-23 14:41:17 UTC (rev 8009)
@@ -81,7 +81,8 @@
     <ice:dataTable id="${listName}TableId" 
                   var="${componentName}"
                 value="${'#'}{${listName}.resultList}" 
-	columnClasses="allCols"
+            resizable="true"
+        columnClasses="allCols"
              rendered="${'#'}{not empty ${listName}.resultList}">
 <#foreach property in pojo.allPropertiesIterator>
 <#if !c2h.isCollection(property) && !c2h.isManyToOne(property) && property != pojo.versionProperty!>
@@ -109,7 +110,7 @@
 <#assign parentPojo = c2j.getPOJOClass(cfg.getClassMapping(property.value.referencedEntityName))>
 <#if parentPojo.isComponent(parentPojo.identifierProperty)>
 <#foreach componentProperty in parentPojo.identifierProperty.value.propertyIterator>
-        <ice:column id="listColumn${propertyName}${listName}Id">
+        <ice:column id="listColumn${componentProperty}${listName}Id">
             <f:facet name="header">
 <#assign propertyPath = property.name + '.' + parentPojo.identifierProperty.name + '.' + componentProperty.name>
                 <s:link styleClass="columnHeader"

Modified: branches/Seam_2_0/seam-gen/icefaces/view/view.xhtml.ftl
===================================================================
--- branches/Seam_2_0/seam-gen/icefaces/view/view.xhtml.ftl	2008-04-23 14:39:35 UTC (rev 8008)
+++ branches/Seam_2_0/seam-gen/icefaces/view/view.xhtml.ftl	2008-04-23 14:41:17 UTC (rev 8009)
@@ -107,7 +107,7 @@
             </ice:column>
 </#foreach>
 <#else>
-            <ice:column id="view$${parentParentPojo.identifierProperty.name}ColumnName">
+            <ice:column id="view${parentParentPojo.identifierProperty.name}ColumnName">
 	    	    <f:facet name="header">${parentProperty.name} ${parentParentPojo.identifierProperty.name}</f:facet>
 		    	${'#'}{${parentName}.${parentProperty.name}.${parentParentPojo.identifierProperty.name}}
             </ice:column>




More information about the seam-commits mailing list