Author: cluts
Date: 2008-09-05 06:09:20 -0400 (Fri, 05 Sep 2008)
New Revision: 10319
Modified:
trunk/docs/userguide/en/src/main/docbook/included/dataTable.xml
Log:
RF-4060 - added link and information for rich:dataTable
Modified: trunk/docs/userguide/en/src/main/docbook/included/dataTable.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dataTable.xml 2008-09-05 09:38:50
UTC (rev 10318)
+++ trunk/docs/userguide/en/src/main/docbook/included/dataTable.xml 2008-09-05 10:09:20
UTC (rev 10319)
@@ -90,7 +90,7 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:dataTable value="#{capitalsBean.capitals}"
var="capitals"
+ <rich:dataTable value="#{capitalsBean.capitals}"
var="capitals"
ajaxKeys="#{bean.ajaxSet}" binding="#{bean.table}"
id="table">
...
</rich:dataTable>
@@ -106,7 +106,7 @@
</emphasis> attribute for <emphasis role="bold">
<property><rich:dataTable></property>
</emphasis> component. As a result the component is updated after an Ajax
request.</para>
-
+
<para id="table_ex">The component allows to use <emphasis>
<property>"header"</property>
</emphasis>, <emphasis>
@@ -114,12 +114,12 @@
</emphasis> and <emphasis>
<property>"caption"</property>
</emphasis> facets for output. See an example below:</para>
-
+
<para>
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:dataTable value="#{capitalsBean.capitals}" var="cap"
rows="5">
+ <rich:dataTable value="#{capitalsBean.capitals}" var="cap"
rows="5">
<f:facet name="caption"><h:outputText value="United
States Capitals" /></f:facet>
<f:facet name="header"><h:outputText value="Capitals and
States Table" /></f:facet>
<rich:column>
@@ -146,9 +146,9 @@
</rich:dataTable>
...
]]></programlisting>
-
+
<para>This is a result:</para>
-
+
<figure>
<title><emphasis role="bold">
<property><rich:dataTable></property>
@@ -160,6 +160,9 @@
</mediaobject>
</figure>
<para>Information about sorting and filtering you can find <link
linkend="sortAndFilter">here</link>.</para>
+ <para>
+ You can find information how to remove header's gradient <ulink
url="http://wiki.jboss.org/wiki/RichFacesDataTableBackgroundOut"...;.
+ </para>
</section>
<section>
<title>Look-and-Feel Customization</title>
@@ -437,7 +440,7 @@
<property><rich:dataTable></property>
</emphasis> components on a page using CSS, it's enough to create
classes with the
same names (possible classes could be found in the tables <link
linkend="dTC"> above</link>) and define necessary properties in them.
</para>
-
+
<para>
<emphasis role="bold">Example:</emphasis>
</para>
@@ -445,10 +448,10 @@
.rich-table-cell{
font-weight:bold;
}
-...]]></programlisting>
-
+...]]></programlisting>
+
<para>This is a result:</para>
-
+
<figure>
<title>Redefinition styles with predefined classes</title>
<mediaobject>
@@ -457,13 +460,13 @@
</imageobject>
</mediaobject>
</figure>
-
+
<para>In the example the font weight for table cell was changed.</para>
-
+
<para>Also it's possible to change styles of particular <emphasis
role="bold"
<property><rich:dataTable></property></emphasis>
component. In this case you should create own style classes and use them in corresponding
<emphasis role="bold"
<property><rich:dataTable></property></emphasis>
<emphasis><property>styleClass</property></emphasis> attributes.
An example is placed below:</para>
-
+
<para>
<emphasis role="bold">Example:</emphasis>
</para>
@@ -471,18 +474,18 @@
.myClass{
font-style:italic;
}
-...]]></programlisting>
+...]]></programlisting>
<para>The
<emphasis><property>"headerClass"</property></emphasis>
attribute for <emphasis role="bold"
<property><rich:dataTable></property></emphasis>
is defined as it's shown in the example below:</para>
-
+
<para>
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[<rich:dataTable ...
headerClass="myClass"/>
-]]></programlisting>
-
+]]></programlisting>
+
<para>This is a result:</para>
-
+
<figure>
<title>Redefinition styles with own classes and
<emphasis><property>styleClass</property></emphasis>
attributes</title>
<mediaobject>
@@ -490,10 +493,10 @@
<imagedata fileref="images/dataTable_oc.png"/>
</imageobject>
</mediaobject>
- </figure>
-
+ </figure>
+
<para>As it could be seen on the picture above, the font style for header was
changed.</para>
-
+
<para>
Detailed information on how to set
<emphasis role="bold">