Author: SeanRogers
Date: 2010-11-09 23:39:44 -0500 (Tue, 09 Nov 2010)
New Revision: 20008
Added:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richselect-Selection_items.xml_sample
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/images/figu-Component_Reference-richselect-richselect.png
Removed:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richselectOne-Selection_items.xml_sample
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/images/figu-Component_Reference-richselectOne-richselectOne.png
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Rich_inputs.xml
modules/docs/trunk/Migration_Guide/src/main/docbook/en-US/Changes_and_new_features.xml
Log:
Corrected selectOne to select
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Rich_inputs.xml
===================================================================
---
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Rich_inputs.xml 2010-11-10
00:18:48 UTC (rev 20007)
+++
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Rich_inputs.xml 2010-11-10
04:39:44 UTC (rev 20008)
@@ -818,45 +818,45 @@
</section>
</section>
- <!-- <rich:selectOne> -->
- <section id="sect-Component_Reference-Rich_inputs-richselectOne">
- <title><sgmltag><rich:selectOne></sgmltag></title>
+ <!-- <rich:select> -->
+ <section id="sect-Component_Reference-Rich_inputs-richselect">
+ <title><sgmltag><rich:select></sgmltag></title>
<para>
- The <sgmltag><rich:selectOne></sgmltag> component provides a
drop-down list box for selecting a single value from multiple options. The component
supports keyboard navigation and can optionally accept typed input as a combo-box.
+ The <sgmltag><rich:select></sgmltag> component provides a
drop-down list box for selecting a single value from multiple options. The component
supports keyboard navigation and can optionally accept typed input as a combo-box.
</para>
- <figure id="figu-Component_Reference-richselectOne-richselectOne">
- <title><sgmltag><rich:selectOne></sgmltag></title>
+ <figure id="figu-Component_Reference-richselect-richselect">
+ <title><sgmltag><rich:select></sgmltag></title>
<mediaobject>
<imageobject>
- <imagedata
fileref="images/figu-Component_Reference-richselectOne-richselectOne.png"
format="PNG" />
+ <imagedata
fileref="images/figu-Component_Reference-richselect-richselect.png"
format="PNG" />
</imageobject>
<textobject>
<para>
- A <sgmltag><rich:selectOne></sgmltag> component used as a
combo-box.
+ A <sgmltag><rich:select></sgmltag> component used as a
combo-box.
</para>
</textobject>
</mediaobject>
</figure>
- <section id="sect-Component_Reference-richselectOne-Basic_usage">
+ <section id="sect-Component_Reference-richselect-Basic_usage">
<title>Basic usage</title>
<para>
- Simple usage of the <sgmltag><rich:selectOne></sgmltag>
component does not need any attributes declared, but child tags to manage the list of
selections are required. An <sgmltag><f:selectItem></sgmltag>
tag manages the currently selected value, while an
<sgmltag><f:selectItems></sgmltag> tag points to the list of
selection items.
+ Simple usage of the <sgmltag><rich:select></sgmltag>
component does not need any attributes declared, but child tags to manage the list of
selections are required. An <sgmltag><f:selectItem></sgmltag>
tag manages the currently selected value, while an
<sgmltag><f:selectItems></sgmltag> tag points to the list of
selection items.
</para>
- <example id="exam-Component_Reference-richselectOne-Selection_items">
+ <example id="exam-Component_Reference-richselect-Selection_items">
<title>Selection items</title>
- <programlisting language="XML" role="XML"><xi:include
parse="text"
href="extras/exam-Component_Reference-richselectOne-Selection_items.xml_sample"
xmlns:xi="http://www.w3.org/2001/XInclude" /></programlisting>
+ <programlisting language="XML" role="XML"><xi:include
parse="text"
href="extras/exam-Component_Reference-richselect-Selection_items.xml_sample"
xmlns:xi="http://www.w3.org/2001/XInclude" /></programlisting>
</example>
<para>
The arrow keys on a keyboard can be used to highlight different items in the list,
even if the list is closed with the control still focused. If the control loses focus or
the <keycap function="enter">Enter</keycap> key is pressed, the
highlighted option is chosen as the value and the list is closed. Pressing the <keycap
function="escape">Esc</keycap> key will close the list but not change
the value.
</para>
</section>
- <section
id="sect-Component_Reference-richselectOne-Using_richselectOne_as_a_combo-box">
- <title>Using <sgmltag><rich:selectOne></sgmltag> as a
combo-box</title>
+ <section
id="sect-Component_Reference-richselect-Using_richselect_as_a_combo-box">
+ <title>Using <sgmltag><rich:select></sgmltag> as a
combo-box</title>
<para>
- Combo-boxes are drop-down lists that allow the user to type into a text field to
scroll through or filter the list. By default, the
<sgmltag><rich:selectOne></sgmltag> component functions as a
drop-down list. To add keyboard support to make it function like a combo-box, set
<code>enableManualInput="true"</code>.
+ Combo-boxes are drop-down lists that allow the user to type into a text field to
scroll through or filter the list. By default, the
<sgmltag><rich:select></sgmltag> component functions as a
drop-down list. To add keyboard support to make it function like a combo-box, set
<code>enableManualInput="true"</code>.
</para>
<para>
Once the user begins typing, the first available matching option is highlighted. If
the typed text does not match any values in the list, no value is chosen and the drop-down
list displays as empty. Other keyboard interaction remains the same as the basic drop-down
list.
@@ -866,32 +866,32 @@
</para>
</section>
- <section id="sect-Component_Reference-richselectOne-Reference_data">
+ <section id="sect-Component_Reference-richselect-Reference_data">
<title>Reference data</title>
<itemizedlist>
<listitem>
<para>
- <parameter>component-type</parameter>:
<classname>org.richfaces.selectOne</classname>
+ <parameter>component-type</parameter>:
<classname>org.richfaces.select</classname>
</para>
</listitem>
<listitem>
<para>
- <parameter>component-class</parameter>:
<classname>org.richfaces.component.html.HtmlSelectOne</classname>
+ <parameter>component-class</parameter>:
<classname>org.richfaces.component.html.HtmlSelect</classname>
</para>
</listitem>
<listitem>
<para>
- <parameter>component-family</parameter>:
<classname>org.richfaces.selectOne</classname>
+ <parameter>component-family</parameter>:
<classname>org.richfaces.select</classname>
</para>
</listitem>
<listitem>
<para>
- <parameter>renderer-type</parameter>:
<classname>org.richfaces.renderkit.selectOneRenderer</classname>
+ <parameter>renderer-type</parameter>:
<classname>org.richfaces.renderkit.selectRenderer</classname>
</para>
</listitem>
<listitem>
<para>
- <parameter>tag-class</parameter>:
<classname>org.richfaces.taglib.selectOneTag</classname>
+ <parameter>tag-class</parameter>:
<classname>org.richfaces.taglib.selectTag</classname>
</para>
</listitem>
</itemizedlist>
Copied:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richselect-Selection_items.xml_sample
(from rev 20007,
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richselectOne-Selection_items.xml_sample)
===================================================================
---
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richselect-Selection_items.xml_sample
(rev 0)
+++
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richselect-Selection_items.xml_sample 2010-11-10
04:39:44 UTC (rev 20008)
@@ -0,0 +1,4 @@
+<rich:select>
+ <f:selectItem itemLabel="constantOption" itemValue="0">
+ <f:selectItems="#{bean.items}">
+</rich:select>
Deleted:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richselectOne-Selection_items.xml_sample
===================================================================
---
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richselectOne-Selection_items.xml_sample 2010-11-10
00:18:48 UTC (rev 20007)
+++
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richselectOne-Selection_items.xml_sample 2010-11-10
04:39:44 UTC (rev 20008)
@@ -1,4 +0,0 @@
-<rich:selectOne>
- <f:selectItem itemLabel="constantOption" itemValue="0">
- <f:selectItems="#{bean.items}">
-</rich:selectOne>
Copied:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/images/figu-Component_Reference-richselect-richselect.png
(from rev 20007,
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/images/figu-Component_Reference-richselectOne-richselectOne.png)
===================================================================
(Binary files differ)
Deleted:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/images/figu-Component_Reference-richselectOne-richselectOne.png
===================================================================
(Binary files differ)
Modified:
modules/docs/trunk/Migration_Guide/src/main/docbook/en-US/Changes_and_new_features.xml
===================================================================
---
modules/docs/trunk/Migration_Guide/src/main/docbook/en-US/Changes_and_new_features.xml 2010-11-10
00:18:48 UTC (rev 20007)
+++
modules/docs/trunk/Migration_Guide/src/main/docbook/en-US/Changes_and_new_features.xml 2010-11-10
04:39:44 UTC (rev 20008)
@@ -994,10 +994,10 @@
</para>
</section>
- <section
id="sect-Migration_Guide-Consolidated_or_renamed_components-richselectOne">
- <title><sgmltag><rich:selectOne></sgmltag></title>
+ <section
id="sect-Migration_Guide-Consolidated_or_renamed_components-richselect">
+ <title><sgmltag><rich:select></sgmltag></title>
<para>
- The <sgmltag><rich:selectOne></sgmltag> component replaces
the old <sgmltag><rich:comboBox></sgmltag> component.
+ The <sgmltag><rich:select></sgmltag> component replaces the
old <sgmltag><rich:comboBox></sgmltag> component.
</para>
</section>
@@ -1047,7 +1047,7 @@
<section
id="sect-Migration_Guide-Deprecated_components_and_behaviors-richcomboBox">
<title><sgmltag><rich:comboBox></sgmltag></title>
<para>
- The functionality of the old
<sgmltag><rich:comboBox></sgmltag> component is now available
through the <sgmltag><rich:selectOne></sgmltag> component.
+ The functionality of the old
<sgmltag><rich:comboBox></sgmltag> component is now available
through the <sgmltag><rich:select></sgmltag> component.
</para>
</section>