Author: msorokin
Date: 2009-04-30 12:52:05 -0400 (Thu, 30 Apr 2009)
New Revision: 13974
Modified:
trunk/docs/userguide/en/src/main/docbook/included/columns.xml
Log:
https://jira.jboss.org/jira/browse/RF-6481
documented
Modified: trunk/docs/userguide/en/src/main/docbook/included/columns.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/columns.xml 2009-04-30 16:51:07 UTC
(rev 13973)
+++ trunk/docs/userguide/en/src/main/docbook/included/columns.xml 2009-04-30 16:52:05 UTC
(rev 13974)
@@ -105,7 +105,7 @@
<property>"columns"</property>
</emphasis> attribute defines the count of columns.
</para>
<para> The <emphasis>
-
<property>"rowspan"</property>
+
<property>"rowspan"</property>
</emphasis> attribute defines the number of rows to
be displayed. If
the value of this attribute is zero, all remaining rows in
the table
are displayed on a page. </para>
@@ -311,6 +311,22 @@
</note>
+<note><title>Note:</title>
+ <para>Since 3.3.0GA <emphasis
role="bold"><property><rich:columns></property></emphasis>
requires explicit definition of
<emphasis><property>"id"</property></emphasis>
for children components to ensure that decode process works properly.
+ The example of how you can define unique
<emphasis><property>"id"</property></emphasis>
for children component: </para>
+ <programlisting role="XML"><![CDATA[...
+<rich:columns value="#{bean.columns}" var="col"
index="ind" ....>
+<h:inputText id="input#{ind}" value="">
+<a4j:support id="support#{ind}" event="onchange"
reRender="someId" />
+</h:inputText>
+</rich:columns>
+...]]></programlisting>
+ <para>Only if
<emphasis><property>"id"</property></emphasis>
defined as shown above Ajax after onchange event will be processed as expected.
</para>
+
+</note>
+
+
+
<para> Information about sorting and filtering you can find
<link
linkend="sortAndFilter"> in the
corresponding section</link> . </para>