[richfaces-svn-commits] JBoss Rich Faces SVN: r1053 - trunk/sandbox/scrollable-grid/src/main/templates/org/richfaces.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Wed Jun 6 11:03:07 EDT 2007


Author: abelevich
Date: 2007-06-06 11:03:07 -0400 (Wed, 06 Jun 2007)
New Revision: 1053

Modified:
   trunk/sandbox/scrollable-grid/src/main/templates/org/richfaces/scrollable-grid.jspx
Log:
add id to frozen normal tables, remove GridContainer from general id 

Modified: trunk/sandbox/scrollable-grid/src/main/templates/org/richfaces/scrollable-grid.jspx
===================================================================
--- trunk/sandbox/scrollable-grid/src/main/templates/org/richfaces/scrollable-grid.jspx	2007-06-06 15:02:29 UTC (rev 1052)
+++ trunk/sandbox/scrollable-grid/src/main/templates/org/richfaces/scrollable-grid.jspx	2007-06-06 15:03:07 UTC (rev 1053)
@@ -27,12 +27,12 @@
 	<f:call name="setUpColumnsWidth"/>	
 	
 	
-	<div id="#{clientId}_GridContainer" style="width: #{component.attributes['width']};height: #{component.attributes['height']};" class="ClientUI_Grid" >
+	<div id="#{clientId}" style="width: #{component.attributes['width']};height: #{component.attributes['height']};" class="ClientUI_Grid" >
 
 		<div id="#{clientId}_GridHeaderTemplate" class="ClientUI_InlineBox" style="width: #{component.attributes['width']};">
 			<div style="display: block; left: 0px; top: 0px; width: #{sumWidth}px;">			
 					<span class="ClientUI_TmplBox ClientUI_FrozenBox" id="#{clientId}:header:FrozenBox">
-						<table cellpadding="0" cellspacing="0" style="border-collapse:collapse; table-layout:fixed">
+						<table id="#{clientId}:f" cellpadding="0" cellspacing="0" style="border-collapse:collapse; table-layout:fixed">
 							
 							<jsp:scriptlet>
 								<![CDATA[
@@ -53,7 +53,7 @@
 					</span>
 			
 					<span class="ClientUI_TmplBox ClientUI_NormalBox" id="#{clientId}:header:NormalBox">
-						<table cellpadding="0" cellspacing="0" style="border-collapse:collapse; table-layout:fixed">
+						<table id="#{clientId}:n" cellpadding="0" cellspacing="0" style="border-collapse:collapse; table-layout:fixed">
 							
 							<jsp:scriptlet>
 								<![CDATA[
@@ -79,7 +79,7 @@
 		<div id="#{clientId}_GridBodyTemplate" class="ClientUI_InlineBox" style="overflow: auto; width: #{component.attributes['width']}; height: #{component.attributes['height']};">
 			<div style="display: block; width:  #{sumWidth}px;">
 				<span class="ClientUI_TmplBox ClientUI_FrozenBox" id="#{clientId}:body:FrozenBox">
-					<table cellpadding="0" cellspacing="0" style="border-collapse:collapse; table-layout:fixed">
+					<table id="#{clientId}:f" cellpadding="0" cellspacing="0" style="border-collapse:collapse; table-layout:fixed">
 						
 						<jsp:scriptlet>
 							<![CDATA[
@@ -97,7 +97,7 @@
 					</table>
 				</span>
 				<span class="ClientUI_TmplBox ClientUI_NormalBox" id="#{clientId}:body:NormalBox">
-					<table cellpadding="0" cellspacing="0" style="border-collapse:collapse; table-layout:fixed">
+					<table id="#{clientId}:n" cellpadding="0" cellspacing="0" style="border-collapse:collapse; table-layout:fixed">
 						
 						<jsp:scriptlet>
 							<![CDATA[
@@ -120,7 +120,7 @@
 		<div id="#{clientId}_GridFooterTemplate" class="ClientUI_InlineBox" style="width: #{component.attributes['width']};">
 			<div style="display: block; width: width: #{sumWidth}px;">
 				<span class="ClientUI_TmplBox ClientUI_FrozenBox" id="#{clientId}:footer:FrozenBox">
-					<table cellpadding="0" cellspacing="0" style="border-collapse:collapse; table-layout:fixed">
+					<table id="#{clientId}:f" cellpadding="0" cellspacing="0" style="border-collapse:collapse; table-layout:fixed">
 						
 						<jsp:scriptlet>
 							<![CDATA[
@@ -141,7 +141,7 @@
 				</span>
 				
 				<span class="ClientUI_TmplBox ClientUI_NormalBox" id="#{clientId}:footer:NormalBox">
-					<table cellpadding="0" cellspacing="0" style="border-collapse:collapse; table-layout:fixed">
+					<table id="#{clientId}:n" cellpadding="0" cellspacing="0" style="border-collapse:collapse; table-layout:fixed">
 						
 						<jsp:scriptlet>
 							<![CDATA[
@@ -213,7 +213,7 @@
 						// currTime = (new Date()).getTime();
 		
 						// create the Grid
-						grid = new ClientUI.controls.grid.Grid(clientId +"_" + 'GridContainer', dataModel, templates,
+						grid = new ClientUI.controls.grid.Grid(clientId, dataModel, templates,
 							{
 								showIndexColumn: false,
 								indexColumnWidth: 40




More information about the richfaces-svn-commits mailing list