From richfaces-svn-commits at lists.jboss.org Mon May 24 02:41:57 2010 Content-Type: multipart/mixed; boundary="===============8555458849660821169==" 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: r17198 - in root/docs/trunk/Component_Reference/en-US: extras and 1 other directory. Date: Mon, 24 May 2010 02:41:57 -0400 Message-ID: <201005240641.o4O6fvXM012891@svn01.web.mwc.hst.phx2.redhat.com> --===============8555458849660821169== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: SeanRogers Date: 2010-05-24 02:41:57 -0400 (Mon, 24 May 2010) New Revision: 17198 Added: root/docs/trunk/Component_Reference/en-US/extras/exam-Component_Referenc= e-Tables_and_grids-a4jrepeat_example.xml_sample Modified: root/docs/trunk/Component_Reference/en-US/Component_Reference.xml root/docs/trunk/Component_Reference/en-US/chap-Component_Reference-Actio= ns.xml root/docs/trunk/Component_Reference/en-US/chap-Component_Reference-Table= s_and_grids.xml Log: a4j:repeat Modified: root/docs/trunk/Component_Reference/en-US/Component_Reference.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 --- root/docs/trunk/Component_Reference/en-US/Component_Reference.xml 2010-= 05-23 19:51:06 UTC (rev 17197) +++ root/docs/trunk/Component_Reference/en-US/Component_Reference.xml 2010-= 05-24 06:41:57 UTC (rev 17198) @@ -21,7 +21,9 @@ + Modified: root/docs/trunk/Component_Reference/en-US/chap-Component_Referenc= e-Actions.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 --- root/docs/trunk/Component_Reference/en-US/chap-Component_Reference-Acti= ons.xml 2010-05-23 19:51:06 UTC (rev 17197) +++ root/docs/trunk/Component_Reference/en-US/chap-Component_Reference-Acti= ons.xml 2010-05-24 06:41:57 UTC (rev 17198) @@ -477,6 +477,48 @@ = +
+ <sgmltag><a4j:repeat></sgmltag> + + + + component-type: org.ajax4jsf.Repeat + + + + + component-family: javax.faces.Data + + + + + component-class: org.ajax4jsf.component.html.HtmlAjaxRepea= t + + + + + renderer-type: org.ajax4jsf.components.RepeatRenderer + + + + + The <a4j:repeat> component is used to iterate = changes through a repeated collection of components. It allows specific row= s of items to be updated without sending Ajax requests for the entire colle= ction. The <a4j:repeat> component forms the basis = for many of the tabular components detailed in . + + + The contents of the collection are determined using Expression Language= (EL). The data model for the contents is specified with= the value attribute. The var attribu= te names the object to use when iterating through the collection. This obje= ct is then referenced in the relevant child components. After an Ajax reque= st, only the rows specified with the ajaxKeys attribute = are updated rather than the entire collection. shows how to use <a4j:repeat> to maintain a simple table. + + + <sgmltag><a4j:repeat></sgmltag> example + + + Each row of a table contains two cells: one showing the item code, and= the other showing the item price. The table is generated by iterating thro= ugh items in the repeatBeans.items data model. + + + + The <a4j:repeat> component uses other attribut= es common to iteration components, such as the first att= ribute for specifying the first item for iteration, and the rows attribute for specifying the number of rows of items to display. + +
+ =
<sgmltag><a4j:support></sgmltag> Modified: root/docs/trunk/Component_Reference/en-US/chap-Component_Referenc= e-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 --- root/docs/trunk/Component_Reference/en-US/chap-Component_Reference-Tabl= es_and_grids.xml 2010-05-23 19:51:06 UTC (rev 17197) +++ root/docs/trunk/Component_Reference/en-US/chap-Component_Reference-Tabl= es_and_grids.xml 2010-05-24 06:41:57 UTC (rev 17198) @@ -686,13 +686,6 @@
= -
- <sgmltag><rich:repeat></sgmltag> - - Incomplete - -
- =
<sgmltag><rich:subTable></sgmltag> Added: root/docs/trunk/Component_Reference/en-US/extras/exam-Component_Refe= rence-Tables_and_grids-a4jrepeat_example.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 --- root/docs/trunk/Component_Reference/en-US/extras/exam-Component_Referen= ce-Tables_and_grids-a4jrepeat_example.xml_sample (r= ev 0) +++ root/docs/trunk/Component_Reference/en-US/extras/exam-Component_Referen= ce-Tables_and_grids-a4jrepeat_example.xml_sample 2010-05-24 06:41:57 UTC (r= ev 17198) @@ -0,0 +1,10 @@ + + + + + + + +
+ <= /td> +
--===============8555458849660821169==--