From richfaces-svn-commits at lists.jboss.org Thu Jan 20 01:59:28 2011 Content-Type: multipart/mixed; boundary="===============2938956272054664078==" 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: r21103 - in modules/docs/trunk/Component_Reference/src/main/docbook/en-US: extras and 1 other directory. Date: Thu, 20 Jan 2011 01:59:28 -0500 Message-ID: <201101200659.p0K6xSLx022671@svn01.web.mwc.hst.phx2.redhat.com> --===============2938956272054664078== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: SeanRogers Date: 2011-01-20 01:59:28 -0500 (Thu, 20 Jan 2011) New Revision: 21103 Added: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exa= m-Component_Reference-richdataScroller-pages_facet.xml_sample modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exa= m-Component_Reference-richdataScroller-richataScroller_example.xml_sample Modified: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Compo= nent_Reference-Tables_and_grids.xml Log: rich:dataScroller docs Modified: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/cha= p-Component_Reference-Tables_and_grids.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Comp= onent_Reference-Tables_and_grids.xml 2011-01-19 23:20:06 UTC (rev 21102) +++ modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Comp= onent_Reference-Tables_and_grids.xml 2011-01-20 06:59:28 UTC (rev 21103) @@ -621,13 +621,54 @@ The bound table or grid should also have the rows a= ttribute defined to limit the number of rows per page. + + The <rich:dataScroller> component must be re-= rendered whenever a filter changes on the bound table, so that the scroller= matches the current model for the table. + + + Basic usage + + = -
- Appearance +
+ Appearance and interactivity - The <rich:dataScroller> must be placed in the= footer of the table or grid it needs to control. Alternatively, use the for attribute to bind the parent table or grid to the scro= ller. + The page attribute is a value-binding attribute use= d to define and save the current page number. + + The <rich:dataScroller> component provides a = range of controllers for scrolling through tables and grids: + + + + Controls for scrolling by a specific amount + + + The component includes controls for switching to the first page, th= e last page, the next page, and the previous page, as well as controls for = fast-forwarding or rewinding by a set amount. Use the fastStep attribute to set the number of pages to skip when fast-forwarding or= rewinding. + + + The appearance of these controls can be customized using the follow= ing facets: first, last, nex= t, previous, fastforward, a= nd rewind. Additionally, there are facets for the contro= ls' disabled states: first_disabled, last_disab= led, next_disabled, previous_disabled= , fastforward_disabled, and rewind_di= sabled. + + + + + Page controls + + + The component also features a series of numbered controls to jump t= o a specific page. Use the maxPages attribute to limit t= he number of page controls that appear. The current page control is highlig= hted. + + + + + + The pageIndexVar and pagesVar at= tributes are request-scope variables for the current page and the total num= ber of pages. Use these attributes with the pages facet = to provide information about the pages of the table, as shown in . + + + <literal>pages</literal> facet + + + + To add optional separators between controls, define the separators w= ith the controlsSeparator facet. +
=
@@ -1042,20 +1083,20 @@
<sgmltag><rich:list></sgmltag> - The <rich:list> component renders a list of it= ems. The list can be an numerically ordered list, an unordered bullet-point= list, or a data definition list. The component uses a data model for manag= ing the list items, which can be updated dynamically. + The <rich:list> component renders a list of it= ems. The list can be an numerically ordered list, an un-ordered bullet-poin= t list, or a data definition list. The component uses a data model for mana= ging the list items, which can be updated dynamically. =
Basic usage - The var attribute names a variable for iterating th= rough the items in the data model. The items to iterate through are determi= ned with the value attribute by using EL (Expression Lan= ugage). + The var attribute names a variable for iterating th= rough the items in the data model. The items to iterate through are determi= ned with the value attribute by using EL (Expression Lan= guage).
=
Type of list - By default, the list is displayed as an unordered bullet-point list. T= he type attribute is used to specify different list type= s: + By default, the list is displayed as an un-ordered bullet-point list. = The type attribute is used to specify different list typ= es: Added: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras= /exam-Component_Reference-richdataScroller-pages_facet.xml_sample =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/ex= am-Component_Reference-richdataScroller-pages_facet.xml_sample = (rev 0) +++ modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/ex= am-Component_Reference-richdataScroller-pages_facet.xml_sample 2011-01-20 0= 6:59:28 UTC (rev 21103) @@ -0,0 +1,11 @@ + + + ... + + + + + + + + Added: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras= /exam-Component_Reference-richdataScroller-richataScroller_example.xml_samp= le =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/ex= am-Component_Reference-richdataScroller-richataScroller_example.xml_sample = (rev 0) +++ modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/ex= am-Component_Reference-richdataScroller-richataScroller_example.xml_sample = 2011-01-20 06:59:28 UTC (rev 21103) @@ -0,0 +1,12 @@ + + + ... + + + + + + + + + --===============2938956272054664078==--