Author: smukhina
Date: 2007-07-10 08:34:03 -0400 (Tue, 10 Jul 2007)
New Revision: 1576
Modified:
trunk/docs/ajaxguide/en/src/main/docbook/included/repeat.xml
Log:
http://jira.jboss.com/jira/browse/RF-436
Modified: trunk/docs/ajaxguide/en/src/main/docbook/included/repeat.xml
===================================================================
--- trunk/docs/ajaxguide/en/src/main/docbook/included/repeat.xml 2007-07-10 12:30:09 UTC
(rev 1575)
+++ trunk/docs/ajaxguide/en/src/main/docbook/included/repeat.xml 2007-07-10 12:34:03 UTC
(rev 1576)
@@ -33,13 +33,13 @@
<section>
<title>Creating on a page</title>
- <para>The component definition on a page is the same as for the <emphasis
role="italic">
+ <para>The component definition on a page is the same as for the <emphasis
>
<property>"facelets"</property>
</emphasis> component:</para>
<programlisting role="XML"><![CDATA[<a4j:repeat
id="detail" value="#{bean.props}" var="detail">
<h:outputText value="#{detail.someProperty}"/>
</a4j:repeat>]]></programlisting>
- <para>The output is generated according to a collection contained in
<emphasis role="italic">
+ <para>The output is generated according to a collection contained in
<emphasis >
<property>"bean.props"</property>
</emphasis> with the "detail" key passed to child
components.</para>
</section>
@@ -53,7 +53,7 @@
</section>
<section>
<title>Key attributes and ways of usage</title>
- <para>The main difference of this component from iterative components of
other libraries is a special <emphasis role="italic">
+ <para>The main difference of this component from iterative components of
other libraries is a special <emphasis >
<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="JSP"><![CDATA[<a4j:poll
intervall="1000" action="#{repeater.action}"
reRender="list">
@@ -71,14 +71,14 @@
<tbody>
<table>
]]></programlisting>
- <para>Thus, a list with a table structure from <emphasis
role="italic">
+ <para>Thus, a list with a table structure from <emphasis >
<property>"bean.props"</property>
</emphasis> is output.</para>
<para>In the above-mentioned example the component <emphasis
role="bold">
<property><a4j:poll></property>
- </emphasis> sends AJAX requests every second, calling the <emphasis
role="italic">
+ </emphasis> sends AJAX requests every second, calling the <emphasis >
<property>"action"</property>
- </emphasis> method of the <emphasis role="italic">
+ </emphasis> method of the <emphasis >
<property>"repeater"</property>
</emphasis> bean.
</para>
@@ -86,12 +86,12 @@
<title>Note:</title>
<para>The <emphasis role="bold">
<property><a4j:repeater></property>
- </emphasis> component is defined as fully updated, but really updated there
are only the strings which rowKeys are included into the set <emphasis
role="italic">
+ </emphasis> component is defined as fully updated, but really updated there
are only the strings which rowKeys are included into the set <emphasis >
<property>"ajaxRowSet"</property>
- </emphasis> defined in the <emphasis role="italic">
+ </emphasis> defined in the <emphasis >
<property>"ajaxKeys"</property>
</emphasis> attribute </para>
- <para>The set could be defined during the action method processing using data
on a model from the property <emphasis role="italic">
+ <para>The set could be defined during the action method processing using data
on a model from the property <emphasis >
<property>"repeater.myRepeat"</property>
</emphasis></para>
</note>