Author: ochikvina
Date: 2009-08-19 08:47:11 -0400 (Wed, 19 Aug 2009)
New Revision: 15218
Modified:
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_dataList.xml
Log:
https://jira.jboss.org/jira/browse/RF-7682- updated the component 'Details of
usage' section;
Modified:
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_dataList.xml
===================================================================
---
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_dataList.xml 2009-08-19
12:28:28 UTC (rev 15217)
+++
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_dataList.xml 2009-08-19
12:47:11 UTC (rev 15218)
@@ -108,35 +108,16 @@
</mediaobject>
</figure>
- <para>The <emphasis role="bold">
- <property><rich:dataList></property>
- </emphasis>
- component could be partially updated with
- Ajax. The <emphasis>
- <property>"ajaxKeys"</property>
- </emphasis> attribute allows to define row keys that are updated after an
Ajax request.</para>
- <para>Here is an example:</para>
-
- <para>
- <emphasis role="bold">Example:</emphasis>
- </para>
- <programlisting role="XML">...
-<rich:dataList value="#{dataTableScrollerBean.allCars}"
var="car" ajaxKeys="#{listBean.list}"
- binding="#{listBean.dataList}" id="list"
rows="5" type="disc">
- ...
-</rich:dataList>
-...
-<a4j:commandButton action="#{listBean.action}" reRender="list"
value="Submit"/>
-...
-</programlisting>
-
- <para> In the example <emphasis>
- <property>"reRender"</property>
- </emphasis> attribute contains the value of <emphasis>
- <property>"id"</property>
- </emphasis> attribute for <emphasis role="bold">
- <property><rich:dataList></property>
- </emphasis> component. As a result the component is updated after an Ajax
request.</para>
+ <para>The <emphasis role="bold">
+ <property><rich:dataList></property>
+ </emphasis>
+ component could be partially updated with
+ Ajax. The <emphasis>
+ <property>"ajaxKeys"</property>
+ </emphasis> attribute points to an Object (java.util.Set) that contains row
keys to be updated after an Ajax request.
+ See an example of usage the attribute in the
+ <ulink
url="http://www.jboss.org/community/wiki/UsingtheajaxKeysattributefo...
the ajaxKeys attribute for <rich:dataList></ulink>
+ article in the RichFaces Cookbook.</para>
</section>
<section>
<title>Reference Data</title>