Author: vkorluzhenko
Date: 2007-11-13 13:40:25 -0500 (Tue, 13 Nov 2007)
New Revision: 3965
Modified:
trunk/docs/userguide/en/src/main/docbook/included/repeat.xml
Log:
http://jira.jboss.com/jira/browse/RF-926 - fixed errors in example.
Modified: trunk/docs/userguide/en/src/main/docbook/included/repeat.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/repeat.xml 2007-11-13 18:33:53 UTC
(rev 3964)
+++ trunk/docs/userguide/en/src/main/docbook/included/repeat.xml 2007-11-13 18:40:25 UTC
(rev 3965)
@@ -61,20 +61,21 @@
<property>"ajaxKeys"</property>
</emphasis> attribute. This attribute defines strings that are updated after
an Ajax request. As a result it becomes easier to update several child components
separately without updating the whole page.</para>
-<programlisting role="XML"><![CDATA[<a4j:poll
intervall="1000" action="#{repeater.action}"
reRender="list">
+ <programlisting role="XML"><![CDATA[...
+ <a4j:poll intervall="1000" action="#{repeater.action}"
reRender="text">
+ <table>
+ <tbody>
+ <a4j:repeat value="#{bean.props}" var="detail"
ajaxKeys="#{repeater.ajaxedRowsSet}">
+ <tr>
+ <td>
+ <h:outputText value="detail.someProperty"
id="text"/>
+ </td>
+ </tr>
+ </a4j:repeat>
+ </tbody>
+ </table>
+ </a4j:poll>
...
-<table>
- <tbody>
- <a4j:repeat value="#{bean.props}" var="detail"
binding="#{repeater.myRepeat}"
- id="list" ajaxKeys="#{repeater.ajaxedRowsSet}">
- </tr>
- <td>
- <h:outputText value="detail.someProperty">
- </td>
- </tr>
- </a4j:repeat>
- <tbody>
-<table>
]]></programlisting>
<para>Thus, a list with a table structure from <emphasis >