Author: artdaw
Date: 2007-11-21 11:16:52 -0500 (Wed, 21 Nov 2007)
New Revision: 4142
Modified:
trunk/docs/userguide/en/src/main/docbook/included/scrollableDataTable.xml
Log:
RF-391 - according to information from the forum add attribute 'selection' to the
Details of Usage of scrollableDataTable
Modified: trunk/docs/userguide/en/src/main/docbook/included/scrollableDataTable.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/scrollableDataTable.xml 2007-11-21
16:10:06 UTC (rev 4141)
+++ trunk/docs/userguide/en/src/main/docbook/included/scrollableDataTable.xml 2007-11-21
16:16:52 UTC (rev 4142)
@@ -132,6 +132,27 @@
</rich:scrollableDataTable>
...
]]></programlisting>
+ <para>
+ In order to access the selected rows in <emphasis role="bold">
+ <property><rich:scrollableDataTable></property>
+ </emphasis> component you can use the
<emphasis><property>"selection"</property></emphasis>
attribute. Simple code is placed below.
+ <programlisting role="XML"><![CDATA[...
+<rich:scrollableDataTable value="#{bean.unLinkedThemes}" var="cur"
selection="#{bean.selection}">
+ <rich:column width="100px">
+ <f:facet name="header" >
+ <h:outputText value="State"/>
+ </f:facet>
+ <h:outputText value="#{cur.cell1}"/>
+ <f:facet name="footer">
+ <h:outputText value="State"/>
+ </f:facet>
+ </rich:column>
+ <!--...//Set of columns and header/footer facets-->
+</rich:scrollableDataTable>
+...
+]]></programlisting>
+
+ </para>
<para>
Finally, the component has the following extra attributes for event processing on the
client:
<itemizedlist>
Show replies by date