Author: ochikvina
Date: 2009-08-21 07:22:33 -0400 (Fri, 21 Aug 2009)
New Revision: 15245
Modified:
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_subTable.xml
Log:
https://jira.jboss.org/jira/browse/RF-7681 - the component description and identification
parameters are reviewed;
Modified:
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_subTable.xml
===================================================================
---
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_subTable.xml 2009-08-21
09:27:25 UTC (rev 15244)
+++
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_subTable.xml 2009-08-21
11:22:33 UTC (rev 15245)
@@ -56,39 +56,14 @@
</emphasis> tags. Ajax support is possible, because the component was
created basing on the
<emphasis role="bold">
<property><a4j:repeat></property>
- </emphasis> component and as a result it could be partially updated with
Ajax. <emphasis>
+ </emphasis> component and as a result it could be partially updated with
Ajax. The <emphasis>
<property>"ajaxKeys"</property>
- </emphasis> attribute allows to define row keys that is updated after an
Ajax request.</para>
+ </emphasis> attribute allows to define row keys which are updated after an
Ajax request. You can find an example which demonstrate the usage of the
+ <emphasis>
+ <property>"ajaxKeys"</property>
+ </emphasis> attributes for data iteration components in the
+ <ulink
url="http://www.jboss.org/community/wiki/UsingtheajaxKeysattributefo...
Cookbook article</ulink>.</para>
- <para>Here is an example:</para>
-
- <para>
- <emphasis role="bold">Example:</emphasis>
- </para>
-
- <programlisting role="XML">...
-<rich:dataTable value="#{capitalsBean.capitals}"
var="capitals">
- <rich:column>
- ...
- </rich:column>
- <rich:subTable value="#{capitals.details}"
var="detail" ajaxKeys="#{bean.ajaxSet}"
binding="#{bean.subtable}" id="subtable">
- <rich:column>
- ...
- </rich:column>
- </rich:subTable>
-</rich:dataTable>
-...
-<a4j:commandButton action="#{tableBean.action}"
reRender="subtable"/>
-...
-</programlisting>
- <para> In the example <emphasis>
- <property>"reRender"</property>
- </emphasis> attribute contains value of <emphasis>
- <property>"id"</property>
- </emphasis> attribute for <emphasis role="bold">
- <property><rich:subTable></property>
- </emphasis> component. As a result the component is updated after an Ajax
request.</para>
-
<para>The component allows to use <emphasis>
<property>"header"</property>
</emphasis> and <emphasis>