Author: SeanRogers
Date: 2011-03-15 01:18:41 -0400 (Tue, 15 Mar 2011)
New Revision: 22217
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/dataTableEdit.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/dataTableEdit-sample.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/tableFiltering.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/tableSorting.xhtml
Log:
Revised showcase text for rich:dataTable, sorting, filtering, and editing - RFPL-1215
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/dataTableEdit.xhtml
===================================================================
---
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/dataTableEdit.xhtml 2011-03-15
04:51:06 UTC (rev 22216)
+++
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/dataTableEdit.xhtml 2011-03-15
05:18:41 UTC (rev 22217)
@@ -6,6 +6,10 @@
xmlns:a4j="http://richfaces.org/a4j">
<ui:composition>
+ <p>This example demonstrates a table with row editing and deletion.
+ The controls to delete or edit the row display <b>rich:popupPanel</b>
+ components. The pop-up panels then call functions in the bean to
+ manage the table contents.</p>
<ui:include src="#{demoNavigator.sampleIncludeURI}" />
<ui:include src="/templates/includes/source-view.xhtml">
<ui:param name="src" value="#{demoNavigator.sampleIncludeURI}"
/>
@@ -22,4 +26,4 @@
</ui:include>
</ui:composition>
-</html>
\ No newline at end of file
+</html>
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/dataTableEdit-sample.xhtml
===================================================================
---
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/dataTableEdit-sample.xhtml 2011-03-15
04:51:06 UTC (rev 22216)
+++
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/dataTableEdit-sample.xhtml 2011-03-15
05:18:41 UTC (rev 22217)
@@ -67,11 +67,11 @@
<rich:popupPanel id="statPane" autosized="true">
<h:graphicImage value="/images/ai.gif" />
- Wait please...
+ Please wait...
</rich:popupPanel>
<rich:popupPanel id="confirmPane" autosized="true">
- Sure to delete row?
+ Are you sure you want to delete the row?
<a4j:commandButton value="Cancel"
onclick="#{rich:component('confirmPane')}.hide(); return false;"
/>
<a4j:commandButton value="Delete" onclick="remove(); return
false;" />
@@ -116,4 +116,4 @@
onclick="#{rich:component('editPane')}.hide(); return false;"
/>
</rich:popupPanel>
</h:form>
-</ui:composition>
\ No newline at end of file
+</ui:composition>
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/tableFiltering.xhtml
===================================================================
---
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/tableFiltering.xhtml 2011-03-15
04:51:06 UTC (rev 22216)
+++
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/tableFiltering.xhtml 2011-03-15
05:18:41 UTC (rev 22217)
@@ -5,6 +5,11 @@
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition>
+ <p>This example demonstrates content filtering for RichFaces table components.
+ A variety of controls are used in the header facet of the table to filter the contents
+ of the columns below them. The <b>value</b> attributes of these controls
adjust the
+ values linked to the <b>filterValue</b> attribute of the columns.
+ The <b>filterExpression</b> attribute defines the expression used to filter
the column.</p>
<ui:include src="#{demoNavigator.sampleIncludeURI}" />
<ui:include src="/templates/includes/source-view.xhtml">
<ui:param name="src" value="#{demoNavigator.sampleIncludeURI}"
/>
@@ -19,4 +24,4 @@
<ui:param name="hideLabel" value="Hide CarsFilteringBean Source"
/>
</ui:include>
</ui:composition>
-</html>
\ No newline at end of file
+</html>
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/tableSorting.xhtml
===================================================================
---
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/tableSorting.xhtml 2011-03-15
04:51:06 UTC (rev 22216)
+++
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/tableSorting.xhtml 2011-03-15
05:18:41 UTC (rev 22217)
@@ -5,14 +5,13 @@
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition>
- <p>Here is simple example of sorting feature of RichFaces Table
- component.</p>
- <p>Object property which should be used for sorting should be
- defined in sortBy attribute.</p>
- <p>Currently you could only control sortOrder in your actions, and
- in near versions we're planning to add special sort controls</p>
- <p>Also you could use #
- {rich:component('tableId')}.sort('columnId', ['sortOrder']) JS
api</p>
+ <p>This example demonstrates the sorting feature for the RichFaces table
+ components.</p>
+ <p>The object property which is used for sorting should be
+ defined for each column with the <b>sortBy</b> attribute.</p>
+ <p>Use the <b>sortOrder</b> attribute together with user actions
+ to determine the sorting order. Alternatively, you can use
+ <b>#{rich:component('tableId')}.sort('columnId',
['sortOrder'])</b> with the JavaScript API.</p>
<ui:include src="#{demoNavigator.sampleIncludeURI}" />
<ui:include src="/templates/includes/source-view.xhtml">
<ui:param name="src" value="#{demoNavigator.sampleIncludeURI}"
/>
@@ -27,4 +26,4 @@
<ui:param name="hideLabel" value="Hide CapitalsSortingBean
Source" />
</ui:include>
</ui:composition>
-</html>
\ No newline at end of file
+</html>