From richfaces-svn-commits at lists.jboss.org Tue Jul 15 11:20:25 2008 Content-Type: multipart/mixed; boundary="===============5728817442094997519==" MIME-Version: 1.0 From: richfaces-svn-commits at lists.jboss.org To: richfaces-svn-commits at lists.jboss.org Subject: [richfaces-svn-commits] JBoss Rich Faces SVN: r9615 - in trunk/samples/richfaces-demo/src/main/webapp/richfaces: sortingFeature and 1 other directory. Date: Tue, 15 Jul 2008 11:20:25 -0400 Message-ID: --===============5728817442094997519== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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/ex= ternalSortingUsage.xhtml trunk/samples/richfaces-demo/src/main/webapp/richfaces/sortingFeature/so= rtingUsage.xhtml Log: http://jira.jboss.com/jira/browse/RF-398 language is corrected in livedemo = Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/filteringF= eature/externalFilteringUsage.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- 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 @@ =

In order to use Filtering Feature of rich:dataTable wit= h some custom filtering - functions and controls one should use next available attributes on co= lumns: = + functions and controls you should use the next available attributes o= n columns: =

- In next simple example we use filterMethod and filterExpres= sion for the first + In the next simple example we use filterMethod and filterEx= pression for the first and second columns filtering correspondingly. =

Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/filteringF= eature/filteringUsage.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- 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 @@

- Rich Data Table has columns filtering feature built-in. Si= mplest way to add filtering - capability is to define filterBy attribute at column you need = to be filterable. + Rich Data Table has columns filtering feature built-in. Th= e simplest way to add filtering + capability is to define filterBy attribute at a column you nee= d to be filterable.

In this attribute you should define iterable object property which sh= ould be used when filetring performed. =

- In this example you could see that two first columns filtered after c= orresponding - input changed. + In this example you could see that two first columns filtered after t= he corresponding + input is changed.

=
@@ -36,23 +36,23 @@ Details of usage

In order to change filter event you should change filterEvent attribute = - on column (e.g. filterEvent =3D "onblur") + on a column (e.g. filterEvent =3D "onblur")

- In order to get or change current filtering value filterValue <= /b>attribute + In order to get or change current filtering value 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. =

This is built-in feature. It uses "startsWith" function to = make filtering.

= - If filterBy attribute set - column will render default inpu= ts with + If filterBy attribute is set, a column will render default = inputs with default filtering behaviour =

- In order to change default filtering behaviour - another definitio= n 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") =

Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/sortingFea= ture/externalSortingUsage.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/samples/richfaces-demo/src/main/webapp/richfaces/sortingFeature/e= xternalSortingUsage.xhtml 2008-07-15 15:08:12 UTC (rev 9614) +++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/sortingFeature/e= xternalSortingUsage.xhtml 2008-07-15 15:20:25 UTC (rev 9615) @@ -26,9 +26,9 @@

- 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 perfo= rm sorting - just choose the sorting properties, sorting direction and press sort = button: = + just choose the sorting properties, sorting direction and press a sor= t button: =

Sorting DataTable example Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/sortingFea= ture/sortingUsage.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/samples/richfaces-demo/src/main/webapp/richfaces/sortingFeature/s= ortingUsage.xhtml 2008-07-15 15:08:12 UTC (rev 9614) +++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/sortingFeature/s= ortingUsage.xhtml 2008-07-15 15:20:25 UTC (rev 9615) @@ -14,7 +14,7 @@ =

- Rich Data Table has columns sorting feature built-in. Simp= lest way to add sorting + Rich Data Table has columns sorting feature built-in. The = simplest way to add sorting capability is to define sortBy attribute at column you need to= be sortable.

@@ -22,8 +22,8 @@ used when sorting performed. =

- In this example you could see that two first columns sorted after cor= responding - header click. + In this example you could see that two first columns are sorted after= a click on the corresponding + header.

Sorting DataTable example @@ -41,7 +41,7 @@
  • sortMode - attribute of rich:dataTable which coul= d 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 =
  • sortOrder - attribute of rich:column allows to set initial sorting on the column. @@ -51,7 +51,7 @@
  • selfSorted attribute of brich:column which define= s = - 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 mechani= sm use value "false" for this attribute. = --===============5728817442094997519==--