[richfaces-svn-commits] JBoss Rich Faces SVN: r1234 - in trunk/sandbox/scrollable-grid/src/main: templates/org/richfaces and 1 other directory.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Wed Jun 20 06:39:36 EDT 2007


Author: konstantin.mishin
Date: 2007-06-20 06:39:35 -0400 (Wed, 20 Jun 2007)
New Revision: 1234

Modified:
   trunk/sandbox/scrollable-grid/src/main/resources/org/richfaces/renderkit/html/css/grid.xcss
   trunk/sandbox/scrollable-grid/src/main/templates/org/richfaces/scrollable-grid.jspx
Log:
add attributs footerClass, headerClass, styleClass


Modified: trunk/sandbox/scrollable-grid/src/main/resources/org/richfaces/renderkit/html/css/grid.xcss
===================================================================
--- trunk/sandbox/scrollable-grid/src/main/resources/org/richfaces/renderkit/html/css/grid.xcss	2007-06-20 10:08:59 UTC (rev 1233)
+++ trunk/sandbox/scrollable-grid/src/main/resources/org/richfaces/renderkit/html/css/grid.xcss	2007-06-20 10:39:35 UTC (rev 1234)
@@ -83,7 +83,6 @@
 	-moz-user-focus: normal;
 	padding: 0px 0px;
 	white-space: nowrap;	
-	background-color: #ebeadb;
 	border-bottom: 1px solid #cbc7b8;
 	border-right: 1px solid #ebeadb;
 	height:30px !important;

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-20 10:08:59 UTC (rev 1233)
+++ trunk/sandbox/scrollable-grid/src/main/templates/org/richfaces/scrollable-grid.jspx	2007-06-20 10:39:35 UTC (rev 1234)
@@ -27,7 +27,7 @@
 	<f:call name="setUpColumnsWidth"/>	
 	
 	
-	<div id="#{clientId}" 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  #{component.attributes['styleClass']}" >
 
 		<div id="#{clientId}_GridHeaderTemplate" class="ClientUI_InlineBox" style="width: #{component.attributes['width']};">
 			<div style="display: block; left: 0px; top: 0px; width: #{sumWidth}px;">			
@@ -41,7 +41,7 @@
 							</jsp:scriptlet>					
 							
 							<tbody>
-								<tr class="ClientUI_Grid_HR">
+								<tr class="ClientUI_Grid_HR #{component.attributes['headerClass']}">
 									<jsp:scriptlet>
 				                   		<![CDATA[
 											renderHeaders(context, component, true);
@@ -62,7 +62,7 @@
 							</jsp:scriptlet>					
 							<col width="1"/>
 							<tbody>
-								<tr class="ClientUI_Grid_HR">
+								<tr class="ClientUI_Grid_HR  #{component.attributes['headerClass']}">
 									<jsp:scriptlet>
 				                   		<![CDATA[
 											renderHeaders(context, component, false);
@@ -127,7 +127,7 @@
 							]]>
 						</jsp:scriptlet>					
 						<tbody>
-							<tr class="ClientUI_Grid_FR">	
+							<tr class="ClientUI_Grid_FR #{component.attributes['footerClass']}">	
 								<jsp:scriptlet>
 				        	        <![CDATA[
 										renderFooters(context, component,true);	
@@ -148,7 +148,7 @@
 						</jsp:scriptlet>					
 						<col width="1"/>												
 						<tbody>
-							<tr class="ClientUI_Grid_FR">
+							<tr class="ClientUI_Grid_FR #{component.attributes['footerClass']}">
 								<jsp:scriptlet>
 				        	        <![CDATA[
 										renderFooters(context, component,false);	




More information about the richfaces-svn-commits mailing list