[richfaces-svn-commits] JBoss Rich Faces SVN: r11926 - trunk/ui/scrollableDataTable/src/main/templates/org/richfaces.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Fri Dec 19 11:40:54 EST 2008


Author: konstantin.mishin
Date: 2008-12-19 11:40:54 -0500 (Fri, 19 Dec 2008)
New Revision: 11926

Modified:
   trunk/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table-header-cell.jspx
Log:
RF-4856

Modified: trunk/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table-header-cell.jspx
===================================================================
--- trunk/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table-header-cell.jspx	2008-12-19 15:18:16 UTC (rev 11925)
+++ trunk/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table-header-cell.jspx	2008-12-19 16:40:54 UTC (rev 11926)
@@ -25,9 +25,12 @@
 		<vcp:body/>
 		
 		<jsp:scriptlet>
+			int offset = -3;
+			Object sepOffset = variables.getVariable("sepOffset");
+			if (sepOffset instanceof Integer) {
+				offset += ((Integer)sepOffset).intValue();
+			}
 			
-			int offset = ((Integer)variables.getVariable("sepOffset")).intValue() - 3;
-			
 		</jsp:scriptlet>
 		<span column="#{cell_index}" id="#{client_id}:hsep_#{cell_index}" style="left: #{offset}px;" class="dr-sdt-hsep rich-sdt-hsep" />
 	</th>




More information about the richfaces-svn-commits mailing list