Author: smukhina
Date: 2008-07-15 11:20:25 -0400 (Tue, 15 Jul 2008)
New Revision: 9615
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/filteringFeature/externalFilteringUsage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/filteringFeature/filteringUsage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/sortingFeature/externalSortingUsage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/sortingFeature/sortingUsage.xhtml
Log:
http://jira.jboss.com/jira/browse/RF-398
language is corrected in livedemo
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/filteringFeature/externalFilteringUsage.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/filteringFeature/externalFilteringUsage.xhtml 2008-07-15
15:08:12 UTC (rev 9614)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/filteringFeature/externalFilteringUsage.xhtml 2008-07-15
15:20:25 UTC (rev 9615)
@@ -9,23 +9,23 @@
<p>
In order to use <b>Filtering Feature</b> of
<b>rich:dataTable</b> with some custom filtering
- functions and controls one should use next available attributes on columns:
+ functions and controls you should use the next available attributes on columns:
</p>
<ul>
<li>
<b>filterExpression</b> - Attribute which allows to define expression
- evaluated to boolean value. This expression should check if the object
- satisfies filtering condition.
+ evaluated to boolean value. This expression should check whether the object
+ satisfies filtering condition or not.
</li>
<li>
<b>filterMethod</b> - Attribute which should be defined with method
binding.
- This method should accept on Object parameter and return boolean value.
- So, this method also should be used to check if the object satisfies
- filtering condition.
+ This method should accept on Object parameter and return a boolean value.
+ Thus, this method also should be used to check whether the object satisfies
+ filtering condition or not.
</li>
</ul>
<p>
- In next simple example we use <b>filterMethod</b> and
<b>filterExpression</b> for the first
+ In the next simple example we use <b>filterMethod</b> and
<b>filterExpression</b> for the first
and second columns filtering correspondingly.
</p>
<fieldset class="demo_fieldset">
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/filteringFeature/filteringUsage.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/filteringFeature/filteringUsage.xhtml 2008-07-15
15:08:12 UTC (rev 9614)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/filteringFeature/filteringUsage.xhtml 2008-07-15
15:20:25 UTC (rev 9615)
@@ -9,19 +9,19 @@
<style>
.top{
vertical-align:top;
- }
+ }
</style>
<p><b>
- Rich Data Table</b> has columns <b>filtering feature</b> built-in.
Simplest way to add filtering
- capability is to define <b>filterBy </b>attribute at column you need to
be filterable.
+ Rich Data Table</b> has columns <b>filtering feature</b> built-in.
The simplest way to add filtering
+ capability is to define <b>filterBy </b>attribute at a column you need
to be filterable.
</p>
<p>
In this attribute you should define iterable object property which should be
used when filetring performed.
</p>
<p>
- In this example you could see that two first columns filtered after corresponding
- input changed.
+ In this example you could see that two first columns filtered after the
corresponding
+ input is changed.
</p>
<fieldset class="demo_fieldset">
@@ -36,23 +36,23 @@
<b>Details of usage</b>
<p>
In order to change filter event you should change <b>filterEvent</b>
attribute
- on column (<i>e.g. filterEvent = "onblur"</i>)
+ on a column (<i>e.g. filterEvent = "onblur"</i>)
</p>
<p>
- In order to get or change current filtering value <b>filterValue
</b>attribute
+ In order to get or change current filtering value <b>filterValue
</b>attribute is
provided. It should be defined with initial filtering value on the page
- or as value binding to get/change it on server.
+ or as value binding to get/change it on server.
</p>
<p>
This is built-in feature. It uses "<b>startsWith</b>"
function to make filtering.
</p>
<p>
- If <b>filterBy </b>attribute set - column will render default inputs
with
+ If <b>filterBy </b>attribute is set, a column will render default
inputs with
default filtering behaviour
</p>
<p>
- In order to change default filtering behaviour - another definition used.
- An example shown at second tab("External Filtering")
+ In order to change default filtering behaviour another definition is used.
+ See the example shown at the second tab("External Filtering")
</p>
</div>
</h:panelGroup>
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/sortingFeature/externalSortingUsage.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/sortingFeature/externalSortingUsage.xhtml 2008-07-15
15:08:12 UTC (rev 9614)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/sortingFeature/externalSortingUsage.xhtml 2008-07-15
15:20:25 UTC (rev 9615)
@@ -26,9 +26,9 @@
</li>
</ul>
<p>
- Try next example. Just change sorting order on the table through
+ Try the next example. Just change sorting order on the table via
attributes and it automatically resort its content. In order to perform sorting
- just choose the sorting properties, sorting direction and press sort button:
+ just choose the sorting properties, sorting direction and press a sort button:
</p>
<fieldset class="demo_fieldset">
<legend class="demo_legend">Sorting DataTable
example</legend>
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/sortingFeature/sortingUsage.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/sortingFeature/sortingUsage.xhtml 2008-07-15
15:08:12 UTC (rev 9614)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/sortingFeature/sortingUsage.xhtml 2008-07-15
15:20:25 UTC (rev 9615)
@@ -14,7 +14,7 @@
</style>
<p><b>
- Rich Data Table</b> has columns <b>sorting feature</b> built-in.
Simplest way to add sorting
+ Rich Data Table</b> has columns <b>sorting feature</b> built-in.
The simplest way to add sorting
capability is to define <b>sortBy </b>attribute at column you need to be
sortable.
</p>
<p>
@@ -22,8 +22,8 @@
used when sorting performed.
</p>
<p>
- In this example you could see that two first columns sorted after corresponding
- header click.
+ In this example you could see that two first columns are sorted after a click on the
corresponding
+ header.
</p>
<fieldset class="demo_fieldset">
<legend class="demo_legend">Sorting DataTable
example</legend>
@@ -41,7 +41,7 @@
<li>
<b>sortMode</b> - attribute of <b>rich:dataTable</b>
which could be defined as
"single"(Default) and "multiple". If multiple sorting
defined -
- previous sorting will not be reseted. Column will be sorted
+ previous sorting will not be reset. Column will be sorted
</li>
<li><b>sortOrder</b> - attribute of
<b>rich:column</b>
allows to set initial sorting on the column.
@@ -51,7 +51,7 @@
</li>
<li>
<b>selfSorted</b> attribute of <b>brich:column</b>
which defines
- if the table will make header clickable and if click on the
+ if the table will make a header clickable and if click on the
header will call sorting request.
Default value is "true". In order to use custom sorting mechanism
use value "false" for this attribute.