Author: SeanRogers
Date: 2010-06-30 02:27:53 -0400 (Wed, 30 Jun 2010)
New Revision: 17683
Added:
root/docs/trunk/Component_Reference/en-US/extras/exam-Component_Reference-Tables_and_grids-richdataOrderedList_example.xml_sample
root/docs/trunk/Component_Reference/en-US/images/figu-Component_Reference-Tables_and_grids-richdataOrderedList_example.png
Modified:
root/docs/trunk/Component_Reference/en-US/chap-Component_Reference-Tables_and_grids.xml
Log:
Added rich:dataOrderedList to docs
Modified:
root/docs/trunk/Component_Reference/en-US/chap-Component_Reference-Tables_and_grids.xml
===================================================================
---
root/docs/trunk/Component_Reference/en-US/chap-Component_Reference-Tables_and_grids.xml 2010-06-30
00:47:26 UTC (rev 17682)
+++
root/docs/trunk/Component_Reference/en-US/chap-Component_Reference-Tables_and_grids.xml 2010-06-30
06:27:53 UTC (rev 17683)
@@ -661,8 +661,75 @@
</listitem>
</itemizedlist>
<para>
- Incomplete
+ The <sgmltag><rich:dataOrderedList></sgmltag> component
renders an ordered list of items from a data model. Specific rows can be updated
dynamically without updating the entire list.
</para>
+ <para>
+ The <varname>type</varname> attribute defines the appearance of the
numerating list markers for the list. The possible values for the
<varname>type</varname> attribute are as follows:
+ </para>
+ <variablelist>
+ <varlistentry>
+ <term><literal>A</literal></term>
+ <listitem>
+ <para>
+ Numerates the list items as <wordasword>A</wordasword>,
<wordasword>B</wordasword>, <wordasword>C</wordasword>, etc.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><literal>a</literal></term>
+ <listitem>
+ <para>
+ Numerates the list items as <wordasword>a</wordasword>,
<wordasword>b</wordasword>, <wordasword>c</wordasword>, etc.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><literal>I</literal></term>
+ <listitem>
+ <para>
+ Numerates the list items as <wordasword>I</wordasword>,
<wordasword>II</wordasword>, <wordasword>III</wordasword>, etc.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><literal>i</literal></term>
+ <listitem>
+ <para>
+ Numerates the list items as <wordasword>i</wordasword>,
<wordasword>ii</wordasword>, <wordasword>iii</wordasword>, etc.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><literal>1</literal></term>
+ <listitem>
+ <para>
+ Numerates the list items as <wordasword>1</wordasword>,
<wordasword>2</wordasword>, <wordasword>3</wordasword>, etc.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <para>
+ The <varname>rows</varname> attribute limits the number of items in the
list. The <varname>first</varname> attribute specifies the first item to start
from when populating the list. The <varname>title</varname> attribute defines
a pop-up title. To only update a sub-set of the rows in the list, use the
<varname>ajaxKeys</varname> attribute, which points to an object that contains
the specified rows.
+ </para>
+ <example
id="exam-Component_Reference-Tables_and_grids-richdataOrderedList_example">
+ <title><sgmltag><rich:dataOrderedList></sgmltag>
example</title>
+<programlisting language="XML" role="XML"><xi:include
parse="text"
href="extras/exam-Component_Reference-Tables_and_grids-richdataOrderedList_example.xml_sample"
xmlns:xi="http://www.w3.org/2001/XInclude" /></programlisting>
+ <blockquote>
+ <figure
id="figu-Component_Reference-Tables_and_grids-richdataOrderedList_example">
+ <title><sgmltag><rich:dataOrderedList></sgmltag>
example</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata
fileref="images/figu-Component_Reference-Tables_and_grids-richdataOrderedList_example.png"
format="PNG" />
+ </imageobject>
+ <textobject>
+ <para>
+ A list of cars displayed in a numbered list.
+ </para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ </blockquote>
+ </example>
</section>
<section
id="sect-Component_Reference-Tables_and_grids-richdataScroller">
Added:
root/docs/trunk/Component_Reference/en-US/extras/exam-Component_Reference-Tables_and_grids-richdataOrderedList_example.xml_sample
===================================================================
---
root/docs/trunk/Component_Reference/en-US/extras/exam-Component_Reference-Tables_and_grids-richdataOrderedList_example.xml_sample
(rev 0)
+++
root/docs/trunk/Component_Reference/en-US/extras/exam-Component_Reference-Tables_and_grids-richdataOrderedList_example.xml_sample 2010-06-30
06:27:53 UTC (rev 17683)
@@ -0,0 +1,9 @@
+<h:form>
+ <rich:dataOrderedList var="car"
value="#{dataTableScrollerBean.allCars}" rows="5" type="1"
title="Car Store">
+ <h:outputText value="#{car.make} #{car.model}"/><br/>
+ <h:outputText value="Price:"
styleClass="label"></h:outputText>
+ <h:outputText value="#{car.price}" /><br/>
+ <h:outputText value="Mileage:"
styleClass="label"></h:outputText>
+ <h:outputText value="#{car.mileage}" /><br/>
+ </rich:dataOrderedList>
+</h:form>
Added:
root/docs/trunk/Component_Reference/en-US/images/figu-Component_Reference-Tables_and_grids-richdataOrderedList_example.png
===================================================================
(Binary files differ)
Property changes on:
root/docs/trunk/Component_Reference/en-US/images/figu-Component_Reference-Tables_and_grids-richdataOrderedList_example.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream