Author: cluts
Date: 2009-02-27 12:57:51 -0500 (Fri, 27 Feb 2009)
New Revision: 12773
Modified:
trunk/docs/userguide/en/src/main/docbook/included/column.xml
Log:
RF-6132 - the note has been added in the section and the example with the
scrollableDataTable has been corrected
Modified: trunk/docs/userguide/en/src/main/docbook/included/column.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/column.xml 2009-02-27 16:30:04 UTC
(rev 12772)
+++ trunk/docs/userguide/en/src/main/docbook/included/column.xml 2009-02-27 17:57:51 UTC
(rev 12773)
@@ -274,26 +274,27 @@
<emphasis
role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
-<rich:scrollableDataTable id="carList"
value="#{dataTableScrollerBean.allCars}"
- sortMode="single" binding="#{dataTableScrollerBean.table}">
- <rich:column id="make" sortExpression="#{cap.state}">
- <f:facet name="header">
- <h:outputText styleClass="headerText"
value="Make"/>
- </f:facet>
- <h:outputText value="#{category.make}"/>
- </rich:column>
- <rich:column id="model">
- <f:facet name="header">
- <h:outputText styleClass="headerText"
value="Model"/>
- </f:facet>
- <h:outputText value="#{category.model}"/>
- </rich:column>
- <rich:column id="price">
- <f:facet name="header">
- <h:outputText styleClass="headerText"
value="Price"/>
- </f:facet>
- <h:outputText value="#{category.price}"/>
- </rich:column>
+<rich:scrollableDataTable id="carList"
+ value="#{dataTableScrollerBean.allCars}" sortMode="single"
+ binding="#{dataTableScrollerBean.table}">
+ <rich:column id="make" sortExpression="#{cap.make}">
+ <f:facet name="header">
+ <h:outputText styleClass="headerText" value="Make" />
+ </f:facet>
+ <h:outputText value="#{category.make}" />
+ </rich:column>
+ <rich:column id="model">
+ <f:facet name="header">
+ <h:outputText styleClass="headerText" value="Model" />
+ </f:facet>
+ <h:outputText value="#{category.model}" />
+ </rich:column>
+ <rich:column id="price">
+ <f:facet name="header">
+ <h:outputText styleClass="headerText" value="Price" />
+ </f:facet>
+ <h:outputText value="#{category.price}" />
+ </rich:column>
</rich:scrollableDataTable>
...]]></programlisting>
<!-- <figure>
@@ -413,13 +414,19 @@
Note that
<emphasis><property>"sortPriority"</property></emphasis>
attribute is defined in
the <emphasis
role="bold"><property><rich:dataTable></property></emphasis>
component!
</para-->
- <para> The <emphasis>
-
<property>"sortable"</property>
- </emphasis> attribute which is used with
<emphasis
- role="bold">
-
<property><rich:scrollableDataTable></property>
- </emphasis> component.</para>
-
+ <note>
+ <title>Note:</title>
+ <para>
+ The
<emphasis><property>"sortBy"</property></emphasis>
and the
<emphasis><property>"selfSorted"</property></emphasis>
attributes used with the <emphasis
role="bold"><property><rich:dataTable></property></emphasis>
component.
+ Also the
<emphasis><property>"selfSorted"</property></emphasis>
can be used with the <emphasis
role="bold"><property><rich:extendedDataTable></property></emphasis>.
+ </para>
+ <para> The <emphasis>
+
<property>"sortable"</property>
+ </emphasis> and the
<emphasis><property>"sortExpression"</property></emphasis>
attributes used with the <emphasis
+ role="bold">
+
<property><rich:scrollableDataTable></property>
+ </emphasis> component.</para>
+ </note>
</section>
<section id="filter">