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

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Wed Aug 22 07:49:58 EDT 2007


Author: maksimkaszynski
Date: 2007-08-22 07:49:57 -0400 (Wed, 22 Aug 2007)
New Revision: 2394

Added:
   trunk/samples/richfaces-demo/src/main/webapp/richfaces/scrollableDataTable/examples/
   trunk/samples/richfaces-demo/src/main/webapp/richfaces/scrollableDataTable/examples/scrollableDataTable.xhtml
Log:
added scrollableTableDemo

Added: trunk/samples/richfaces-demo/src/main/webapp/richfaces/scrollableDataTable/examples/scrollableDataTable.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/scrollableDataTable/examples/scrollableDataTable.xhtml	                        (rev 0)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/scrollableDataTable/examples/scrollableDataTable.xhtml	2007-08-22 11:49:57 UTC (rev 2394)
@@ -0,0 +1,58 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+      xmlns:ui="http://java.sun.com/jsf/facelets"
+      xmlns:h="http://java.sun.com/jsf/html"
+      xmlns:f="http://java.sun.com/jsf/core"
+      xmlns:a4j="http://richfaces.org/a4j"
+      xmlns:rich="http://richfaces.org/rich">
+
+		<style>
+		</style>
+			
+		<h:form>
+			<rich:spacer height="30" />
+			<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>
+					<h:outputText value="#{category.make}" />
+				</rich:column>
+				<rich:column id="model">
+					<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>
+					<h:outputText value="#{category.price}" />
+				</rich:column>
+				<rich:column id="mileage">
+					<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>
+					<h:outputText value="#{category.vin}" />
+				</rich:column>
+				<rich:column id="stock">
+					<f:facet name="header">
+						<h:outputText styleClass="headerText" value="Stock" />
+					</f:facet>
+					<h:outputText value="#{category.stock}" />
+				</rich:column>
+
+
+
+			</rich:scrollableDataTable>
+		</h:form>
+
+</ui:composition>
\ No newline at end of file




More information about the richfaces-svn-commits mailing list