Author: ochikvina
Date: 2009-08-19 08:00:52 -0400 (Wed, 19 Aug 2009)
New Revision: 15215
Modified:
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_dataDefinitionList.xml
Log:
https://jira.jboss.org/jira/browse/RF-7685 - updated the component 'Details of
usage' section;
Modified:
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_dataDefinitionList.xml
===================================================================
---
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_dataDefinitionList.xml 2009-08-19
10:56:14 UTC (rev 15214)
+++
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_dataDefinitionList.xml 2009-08-19
12:00:52 UTC (rev 15215)
@@ -93,34 +93,17 @@
<property>"title"</property>
</emphasis> is used for a popup title.</para>
- <para>The <emphasis role="bold">
- <property><rich:dataDefinitionList></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, you need to pass an array with key (lines) of the list that you want to be
updated after the Ajax request is executed.</para>
- <para>Here is an example:</para>
-
- <para>
- <emphasis role="bold">Example:</emphasis>
- </para>
- <programlisting role="XML">...
-<rich:dataDefinitionList value="#{dataTableScrollerBean.allCars}"
var="car" ajaxKeys="#{listBean.list}"
- binding="#{listBean.dataList}"
id="list">
- ...
-</rich:dataDefinitionList>
-...
-<a4j:commandButton action="#{listBean.action}" reRender="list"
value="Submit"/>
-...
-</programlisting>
-
- <para> In the example the <emphasis>
- <property>"reRender"</property>
- </emphasis> attribute contains value of <emphasis>
- <property>"id"</property>
- </emphasis> attribute for <emphasis role="bold">
- <property><rich:dataDefinitionList></property>
- </emphasis> component. As a result the component is updated after an Ajax
request.</para>
-
+ <para>The <emphasis role="bold">
+ <property><rich:dataDefinitionList></property>
+ </emphasis> component could be partially updated with Ajax. The
<emphasis>
+ <property>"ajaxKeys"</property>
+ </emphasis> attribute points to an Object (java.util.Set) that should contain
row keys to be updated after an Ajax request. See an example of usage the
+ <emphasis>
+ <property>"ajaxKeys"</property>
+ </emphasis> attribute for the <emphasis role="bold">
+ <property><rich:dataList></property>
+ </emphasis> component in the <ulink
url="http://www.jboss.org/community/wiki/UsingtheajaxKeysattributefo...
Cookbook article</ulink>.</para>
+
</section>
<section>
<title>Reference Data</title>