Author: atsebro
Date: 2008-09-02 13:21:36 -0400 (Tue, 02 Sep 2008)
New Revision: 10283
Modified:
trunk/docs/userguide/en/src/main/docbook/included/extendedDataTable.desc.xml
trunk/docs/userguide/en/src/main/docbook/included/extendedDataTable.xml
Log:
RF-4131:extendedDataTable-Documenting
Modified: trunk/docs/userguide/en/src/main/docbook/included/extendedDataTable.desc.xml
===================================================================
---
trunk/docs/userguide/en/src/main/docbook/included/extendedDataTable.desc.xml 2008-09-02
17:21:09 UTC (rev 10282)
+++
trunk/docs/userguide/en/src/main/docbook/included/extendedDataTable.desc.xml 2008-09-02
17:21:36 UTC (rev 10283)
@@ -16,8 +16,8 @@
<title>Description</title>
<note>
<title>Note:</title>
- <para>The component is in a preview state for 3.2.2
release because it was
- not fully tested and reviewed by the RF
team.</para>
+ <para>The component is in a preview state for 3.2.2
release because it
+ was not fully tested and reviewed by the RF
team.</para>
</note>
<para>The component for tables extending standard component
<emphasis
role="bold">
Modified: trunk/docs/userguide/en/src/main/docbook/included/extendedDataTable.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/extendedDataTable.xml 2008-09-02
17:21:09 UTC (rev 10282)
+++ trunk/docs/userguide/en/src/main/docbook/included/extendedDataTable.xml 2008-09-02
17:21:36 UTC (rev 10283)
@@ -56,13 +56,12 @@
<emphasis
role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:extendedDataTable value="#{extendedDT.dataModel}"
var="edt">
- <rich:column>
- ...
- </rich:column>
- </rich:extendedDataTable>
-...
-]]></programlisting>
+<rich:extendedDataTable value="#{extendedDT.dataModel}"
var="edt">
+ <rich:column>
+ ...
+ </rich:column>
+</rich:extendedDataTable>
+...]]></programlisting>
</section>
<section>
<title>Creating the Component Dynamically from
Java</title>
@@ -99,57 +98,35 @@
<emphasis
role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:extendedDataTable id="edt"
value="#{extendedDT.dataModel}"
- var="edt" width="500px" height="500px"
- selectedClass="dataTableSelectedRow"
- sortMode="single" selectionMode="multi"
- selection="#{extendedDT.selection}" rowKeyVar="rkvar"
- tableState="#{extendedDT.tableState}">
- <rich:column id="id" headerClass="dataTableHeader"
width="50"
- label="Id" sortable="true" sortBy="#{edt.id}"
- sortIconAscending="dataTableAscIcon"
- sortIconDescending="dataTableDescIcon">
- <f:facet name="header">
- <h:outputText value="Id" />
- </f:facet>
- <h:outputText value="#{edt.id}" />
- </rich:column>
- <rich:column id="name" width="300"
headerClass="dataTableHeader"
- label="Name" sortable="true" sortBy="#{edt.name}"
- sortIconAscending="dataTableAscIcon"
- sortIconDescending="dataTableDescIcon" filterBy="#{edt.name}"
- filterEvent="onkeyup" visible="false">
- <f:facet name="header">
- <h:outputText value="Name" />
- </f:facet>
- <h:outputText value="#{edt.name}" />
- </rich:column>
- <rich:column id="date" width="100"
headerClass="dataTableHeader"
- label="Date" sortable="true"
- comparator="#{extendedDT.dateComparator}"
- sortIconAscending="dataTableAscIcon"
- sortIconDescending="dataTableDescIcon">
- <f:facet name="header">
- <h:outputText value="Date" />
- </f:facet>
- <h:outputText value="#{edt.date}">
- <f:convertDateTime pattern="yyyy-MM-dd HH:mm:ss" />
- </h:outputText>
- </rich:column>
- <rich:column id="group" width="50"
headerClass="dataTableHeader"
- label="Group" sortable="true" sortBy="#{edt.group}"
- sortIconAscending="dataTableAscIcon"
- sortIconDescending="dataTableDescIcon">
- <f:facet name="header">
- <h:outputText value="Group" />
- </f:facet>
- <h:outputText value="#{edt.group}" />
- </rich:column>
+<rich:extendedDataTable id="edt" value="#{extendedDT.dataModel}"
var="edt" width="500px" height="500px"
selectedClass="dataTableSelectedRow" sortMode="single"
selectionMode="multi" selection="#{extendedDT.selection}"
rowKeyVar="rkvar" tableState="#{extendedDT.tableState}">
+ <rich:column id="id" headerClass="dataTableHeader"
width="50" label="Id" sortable="true"
sortBy="#{edt.id}" sortIconAscending="dataTableAscIcon"
sortIconDescending="dataTableDescIcon">
+ <f:facet name="header">
+ <h:outputText value="Id" />
+ </f:facet>
+ <h:outputText value="#{edt.id}" />
+ </rich:column>
+ <rich:column id="name" width="300"
headerClass="dataTableHeader" label="Name" sortable="true"
sortBy="#{edt.name}" sortIconAscending="dataTableAscIcon"
sortIconDescending="dataTableDescIcon" filterBy="#{edt.name}"
filterEvent="onkeyup" visible="false">
+ <f:facet name="header">
+ <h:outputText value="Name" />
+ </f:facet>
+ <h:outputText value="#{edt.name}" />
+ </rich:column>
+ <rich:column id="date" width="100"
headerClass="dataTableHeader" label="Date" sortable="true"
comparator="#{extendedDT.dateComparator}"
sortIconAscending="dataTableAscIcon"
sortIconDescending="dataTableDescIcon">
+ <f:facet name="header">
+ <h:outputText value="Date" />
+ </f:facet>
+ <h:outputText value="#{edt.date}"><f:convertDateTime
pattern="yyyy-MM-dd HH:mm:ss" />
+ </h:outputText>
+ </rich:column>
+ <rich:column id="group" width="50"
headerClass="dataTableHeader" label="Group" sortable="true"
sortBy="#{edt.group}" sortIconAscending="dataTableAscIcon"
sortIconDescending="dataTableDescIcon">
+ <f:facet name="header">
+ <h:outputText value="Group" />
+ </f:facet>
+ <h:outputText value="#{edt.group}" />
+ </rich:column>
+</rich:extendedDataTable>
+...]]></programlisting>
- </rich:extendedDataTable>
- ...
-]]></programlisting>
-
<figure>
<title><emphasis role="bold">
<property><&extDataTable;></property>
@@ -224,10 +201,8 @@
<emphasis
role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:column id="name"
- label="#{msg['name']}"
- ...>
-]]></programlisting>
+<rich:column id="name" label="#{msg['name']}"
+...]]></programlisting>
<figure>
<title><emphasis role="bold">
@@ -236,7 +211,7 @@
<mediaobject>
<imageobject>
<imagedata
-
fileref="images/extendedDataTable_init5.png"
+
fileref="images/extendedDataTable_init5.png"
width="75%"/>
</imageobject>
</mediaobject>
@@ -253,7 +228,7 @@
<mediaobject>
<imageobject>
<imagedata
-
fileref="images/extendedDataTable_init6.png"
+
fileref="images/extendedDataTable_init6.png"
width="75%"/>
</imageobject>
</mediaobject>
@@ -296,7 +271,7 @@
</para>
<programlisting role="XML"><![CDATA[...
- tableState="#{extendedDT.tableState}"
+<rich:extendedDataTable tableState="#{extendedDT.tableState}">
...
]]></programlisting>
Show replies by date