From richfaces-svn-commits at lists.jboss.org Fri Sep 25 12:29:30 2009
Content-Type: multipart/mixed; boundary="===============1415787309092594811=="
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: r15671 -
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included.
Date: Fri, 25 Sep 2009 12:29:30 -0400
Message-ID: <200909251629.n8PGTUev019331@svn01.web.mwc.hst.phx2.redhat.com>
--===============1415787309092594811==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: ochikvina
Date: 2009-09-25 12:29:29 -0400 (Fri, 25 Sep 2009)
New Revision: 15671
Modified:
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/a4j=
_repeat.xml
Log:
https://jira.jboss.org/jira/browse/RF-7913 - the component is reviewed and =
updated;
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/inclu=
ded/a4j_repeat.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
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/a4=
j_repeat.xml 2009-09-25 16:28:29 UTC (rev 15670)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/a4=
j_repeat.xml 2009-09-25 16:29:29 UTC (rev 15671)
@@ -41,23 +41,21 @@
=
=
- ...
-<table>
- <tbody>
- <a4j:repeat value=3D"#{repeatBean.items}" var=3D"item" ajax=
Keys=3D"#{updateBean.updatedRow}">
- <tr>
- <td><h:outputText value=3D"#{item.code}" =
id=3D"item1" /></td>
- <td><h:outputText value=3D"#{item.price}"=
id=3D"item2" /></td>
- </tr>
- </a4j:repeat>
- </tbody>
-</table>
- ...
+
+
+
+
+ |
+ |
+
+
+
+
+]]> ...
=
- The example above the
- <a4j:repeat>
- points to an method that contains row keys to be upda=
ted. =
+ The example above points to a method that contains r=
ow keys to be updated. =
Note:
@@ -73,19 +71,21 @@
=
=
- One more benefit of this component is absence of=
strictly defined markup as JSF HTML DataTable and TOMAHAWK DataTable has. =
+ One more benefit of this component is absence of=
strictly defined markup as JSF HTML DataTable and TOMAHAWK DataTable have. =
Hence the components could be used more flexibly=
anywhere where it's necessary to output the results of selection from some=
collection.
=
- The next example shows collection output as a plain =
HTML list:
- <ul>
- <a4j:repeat ...>
- <li>...<li/>
+ If you want to output a collection as a plain HTML list, use the=
following structure:
+
+
+ ...
...
- <li>...<li/>
- </a4j:repeat>
-</ul>
- All other general attributes are defined accordi=
ng to the similar
+ ...
+
+
+...]]>
+ All other general attributes of the component ar=
e defined according to the similar
attributes of iterative components (
<h:dataTable>
or
--===============1415787309092594811==--