[richfaces-svn-commits] JBoss Rich Faces SVN: r2490 - in trunk/samples/richfaces-demo/src/main/webapp: richfaces/scrollableDataTable and 1 other directories.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Fri Aug 24 18:01:18 EDT 2007


Author: SergeySmirnov
Date: 2007-08-24 18:01:17 -0400 (Fri, 24 Aug 2007)
New Revision: 2490

Removed:
   trunk/samples/richfaces-demo/src/main/webapp/WEB-INF/src/org/
Modified:
   trunk/samples/richfaces-demo/src/main/webapp/richfaces/scrollableDataTable/examples/scrollableDataTable.xhtml
   trunk/samples/richfaces-demo/src/main/webapp/richfaces/scrollableDataTable/usage.xhtml
Log:
demo update. scrollableDataTable intro description is added. 

Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/scrollableDataTable/examples/scrollableDataTable.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/scrollableDataTable/examples/scrollableDataTable.xhtml	2007-08-24 21:56:45 UTC (rev 2489)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/scrollableDataTable/examples/scrollableDataTable.xhtml	2007-08-24 22:01:17 UTC (rev 2490)
@@ -5,48 +5,40 @@
       xmlns:a4j="http://richfaces.org/a4j"
       xmlns:rich="http://richfaces.org/rich">
 
-		<style>
+		<style type="text/css">
+		 .col {
+		 color:red;
+		 }
 		</style>
 			
 		<h:form>
 			<rich:spacer height="30" />
-			<rich:scrollableDataTable rowKeyVar="rkv" frozenColCount="1" height="400px" width="700px" id="carList" rows="40" columnClasses="col"
+			<rich:scrollableDataTable rowKeyVar="rkv" frozenColCount="1" height="400px" 
+				width="700px" id="carList" rows="40" columnClasses="col"
 				value="#{dataTableScrollerBean.allCars}" var="category" sortMode="single">
 
 				<rich:column id="make">
-					<f:facet name="header">
-						<h:outputText styleClass="headerText" value="Make" />
-					</f:facet>
+					<f:facet name="header"><h:outputText styleClass="headerText" value="Make" /></f:facet>
 					<h:outputText value="#{category.make}" />
 				</rich:column>
 				<rich:column id="model">
-					<f:facet name="header">
-						<h:outputText styleClass="headerText" value="Model" />
-					</f:facet>
+					<f:facet name="header"><h:outputText styleClass="headerText" value="Model" /></f:facet>
 					<h:outputText value="#{category.model}" />
 				</rich:column>
 				<rich:column id="price">
-					<f:facet name="header">
-						<h:outputText styleClass="headerText" value="Price" />
-					</f:facet>
+					<f:facet name="header"><h:outputText styleClass="headerText" value="Price" /></f:facet>
 					<h:outputText value="#{category.price}" />
 				</rich:column>
 				<rich:column id="mileage">
-					<f:facet name="header">
-						<h:outputText styleClass="headerText" value="Mileage" />
-					</f:facet>
+					<f:facet name="header"><h:outputText styleClass="headerText" value="Mileage" /></f:facet>
 					<h:outputText value="#{category.mileage}" />
 				</rich:column>
 				<rich:column width="200px" id="vin">
-					<f:facet name="header">
-						<h:outputText styleClass="headerText" value="VIN" />
-					</f:facet>
+					<f:facet name="header"><h:outputText styleClass="headerText" value="VIN" /></f:facet>
 					<h:outputText value="#{category.vin}" />
 				</rich:column>
 				<rich:column id="stock">
-					<f:facet name="header">
-						<h:outputText styleClass="headerText" value="Stock" />
-					</f:facet>
+					<f:facet name="header"><h:outputText styleClass="headerText" value="Stock" /></f:facet>
 					<h:outputText value="#{category.stock}" />
 				</rich:column>
 

Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/scrollableDataTable/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/scrollableDataTable/usage.xhtml	2007-08-24 21:56:45 UTC (rev 2489)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/scrollableDataTable/usage.xhtml	2007-08-24 22:01:17 UTC (rev 2490)
@@ -9,7 +9,18 @@
 	<ui:define name="sample">
 
 
-		<p>Scrollable Data Table</p>
+		<p>rich:scrollableDataTable represents the tabular data and has the following features
+		<ul>
+			<li>variable content of the table cells;</li>
+			<li>dynamically fetching the rows from the server when the table is scrolled up and down;</li>
+			<li>resizing columns by mouse dragging the column bar;</li>		
+			<li>sorting column by clicking the header;</li>		
+			<li>fixed one or more left columns when table is scrolled horizontally;</li>		
+			<li>one and multi-selection rows mode;</li>		
+			<li>built-it drag-n-drop support;</li>		
+			<li>customizing the table look-n-fill from skin parameters</li>			
+		</ul>
+		</p>
 
 		<div class="sample-container">
 				<ui:include src="/richfaces/scrollableDataTable/examples/scrollableDataTable.xhtml"/>
@@ -18,6 +29,11 @@
 					<ui:param name="openlabel" value="View Page Source" />
 				</ui:include>			
 		</div>
+		
+		<p>
+		
+		</p>
+		
 	</ui:define>
 </ui:composition>
 </html>




More information about the richfaces-svn-commits mailing list