From richfaces-svn-commits at lists.jboss.org Mon May 31 11:11:37 2010 Content-Type: multipart/mixed; boundary="===============2881986441051570523==" 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: r17421 - in root/examples/richfaces-showcase/trunk/src/main/webapp: richfaces/dataTable and 1 other directories. Date: Mon, 31 May 2010 11:11:37 -0400 Message-ID: <201005311511.o4VFBbaf031562@svn01.web.mwc.hst.phx2.redhat.com> --===============2881986441051570523== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ilya_shaikovsky Date: 2010-05-31 11:11:36 -0400 (Mon, 31 May 2010) New Revision: 17421 Modified: root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/compone= ntControl/tableFilteringAPI.xhtml root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/dataTab= le/tableSorting.xhtml root/examples/richfaces-showcase/trunk/src/main/webapp/templates/main.xh= tml Log: descriptions Modified: root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/= componentControl/tableFilteringAPI.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 --- root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/compon= entControl/tableFilteringAPI.xhtml 2010-05-31 15:09:50 UTC (rev 17420) +++ root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/compon= entControl/tableFilteringAPI.xhtml 2010-05-31 15:11:36 UTC (rev 17421) @@ -10,9 +10,15 @@ xmlns:rfn=3D"http://richfaces.org/misc"> = - + +

ComponentControl allows to call JS api on any component. It supports p= arameters passing using f:param, a4j:param and a4j:hasParam tags.

+

Currently target component should be defined by using clientId, but we= planning to add lookup by short id in nearest versions.

- + Modified: root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/= dataTable/tableSorting.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 --- root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/dataTa= ble/tableSorting.xhtml 2010-05-31 15:09:50 UTC (rev 17420) +++ root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/dataTa= ble/tableSorting.xhtml 2010-05-31 15:11:36 UTC (rev 17421) @@ -11,6 +11,9 @@

Here is simple example of sorting feature of RichFaces Table component. =

+

Object property which should be used for sorting should be defined in s= ortBy attribute.

+

Currently you could only control sortOrder in your actions, and in near= versions we're planning to add special sort controls

+

Also you could use # {rich:component('tableId')}.sort('columnId', ['sor= tOrder']) JS api

Modified: root/examples/richfaces-showcase/trunk/src/main/webapp/templates/= main.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 --- root/examples/richfaces-showcase/trunk/src/main/webapp/templates/main.x= html 2010-05-31 15:09:50 UTC (rev 17420) +++ root/examples/richfaces-showcase/trunk/src/main/webapp/templates/main.x= html 2010-05-31 15:11:36 UTC (rev 17421) @@ -3,7 +3,8 @@ xmlns:h=3D"http://java.sun.com/jsf/html" xmlns:f=3D"http://java.sun.com/jsf/core" xmlns:ui=3D"http://java.sun.com/jsf/facelets" - xmlns:rich=3D"http://java.sun.com/jsf/composite/rich"> + xmlns:rich=3D"http://java.sun.com/jsf/composite/rich" + xmlns:a4j=3D"http://richfaces.org/a4j"> = --===============2881986441051570523==--