Author: ilya_shaikovsky
Date: 2007-08-31 08:16:29 -0400 (Fri, 31 Aug 2007)
New Revision: 2648
Added:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataGrid/usage.xhtml
Log:
Added: trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataGrid/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataGrid/usage.xhtml
(rev 0)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataGrid/usage.xhtml 2007-08-31
12:16:29 UTC (rev 2648)
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html
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">
+ <ui:composition template="/templates/component-sample.xhtml">
+ <ui:define name="sample">
+
+
+
+ <p>The component takes a list from a model and outputs it the same way as with
+ <h:PanelGrid> for inline data. To define grid properties and styles, use
the same
+ definitions as for <h:panelGrid>.<br />
+ The folowing example shows the dataTable component in use:
+ </p>
+
+
+ <div class="sample-container" >
+
+ <ui:include src="/richfaces/dataGrid/examples/report.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath"
value="/richfaces/dataGrid/examples/form.xhtml"/>
+ </ui:include>
+
+ </div>
+ </ui:define>
+
+ </ui:composition>
+</html>