From richfaces-svn-commits at lists.jboss.org Tue Nov 9 23:39:46 2010 Content-Type: multipart/mixed; boundary="===============4795131413714875492==" MIME-Version: 1.0 From: richfaces-svn-commits at lists.jboss.org To: richfaces-svn-commits at lists.jboss.org Subject: [richfaces-svn-commits] JBoss Rich Faces SVN: r20008 - in modules/docs/trunk: Component_Reference/src/main/docbook/en-US/extras and 2 other directories. Date: Tue, 09 Nov 2010 23:39:45 -0500 Message-ID: <201011100439.oAA4djbr024759@svn01.web.mwc.hst.phx2.redhat.com> --===============4795131413714875492== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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/exa= m-Component_Reference-richselect-Selection_items.xml_sample modules/docs/trunk/Component_Reference/src/main/docbook/en-US/images/fig= u-Component_Reference-richselect-richselect.png Removed: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exa= m-Component_Reference-richselectOne-Selection_items.xml_sample modules/docs/trunk/Component_Reference/src/main/docbook/en-US/images/fig= u-Component_Reference-richselectOne-richselectOne.png Modified: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Compo= nent_Reference-Rich_inputs.xml modules/docs/trunk/Migration_Guide/src/main/docbook/en-US/Changes_and_ne= w_features.xml Log: Corrected selectOne to select Modified: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/cha= p-Component_Reference-Rich_inputs.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Comp= onent_Reference-Rich_inputs.xml 2010-11-10 00:18:48 UTC (rev 20007) +++ modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Comp= onent_Reference-Rich_inputs.xml 2010-11-10 04:39:44 UTC (rev 20008) @@ -818,45 +818,45 @@ = - -
- <sgmltag><rich:selectOne></sgmltag> + +
+ <sgmltag><rich:select></sgmltag> - The <rich:selectOne> component provides a drop= -down list box for selecting a single value from multiple options. The comp= onent supports keyboard navigation and can optionally accept typed input as= a combo-box. + The <rich:select> component provides a drop-do= wn list box for selecting a single value from multiple options. The compone= nt supports keyboard navigation and can optionally accept typed input as a = combo-box. = -
- <sgmltag><rich:selectOne></sgmltag> +
+ <sgmltag><rich:select></sgmltag> - + - A <rich:selectOne> component used as a comb= o-box. + A <rich:select> component used as a combo-b= ox.
= -
+
Basic usage - Simple usage of the <rich:selectOne> componen= t does not need any attributes declared, but child tags to manage the list = of selections are required. An <f:selectItem> tag = manages the currently selected value, while an <f:selectItems&g= t; tag points to the list of selection items. + Simple usage of the <rich:select> component d= oes not need any attributes declared, but child tags to manage the list of = selections are required. An <f:selectItem> tag man= ages the currently selected value, while an <f:selectItems><= /sgmltag> tag points to the list of selection items. - + Selection items - + 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 Enter ke= y is pressed, the highlighted option is chosen as the value and the list is= closed. Pressing the Esc key will clo= se the list but not change the value.
= -
- Using <sgmltag><rich:selectOne></sgmltag> as a combo-box</= title> + <section id=3D"sect-Component_Reference-richselect-Using_richselect_as_a= _combo-box"> + <title>Using <sgmltag><rich:select></sgmltag> as a combo-box</tit= le> <para> - Combo-boxes are drop-down lists that allow the user to type into a tex= t field to scroll through or filter the list. By default, the <sgmltag><= rich:selectOne></sgmltag> component functions as a drop-down list. To ad= d keyboard support to make it function like a combo-box, set <code>enableMa= nualInput=3D"true"</code>. + Combo-boxes are drop-down lists that allow the user to type into a tex= t field to scroll through or filter the list. By default, the <sgmltag><= rich:select></sgmltag> component functions as a drop-down list. To add k= eyboard support to make it function like a combo-box, set <code>enableManua= lInput=3D"true"</code>. </para> <para> Once the user begins typing, the first available matching option is hi= ghlighted. If the typed text does not match any values in the list, no valu= e is chosen and the drop-down list displays as empty. Other keyboard intera= ction remains the same as the basic drop-down list. @@ -866,32 +866,32 @@ </para> </section> = - <section id=3D"sect-Component_Reference-richselectOne-Reference_data"> + <section id=3D"sect-Component_Reference-richselect-Reference_data"> <title>Reference data - component-type: org.richfaces.sele= ctOne + component-type: org.richfaces.sele= ct - component-class: org.richfaces.com= ponent.html.HtmlSelectOne + component-class: org.richfaces.com= ponent.html.HtmlSelect - component-family: org.richfaces.se= lectOne + component-family: org.richfaces.se= lect - renderer-type: org.richfaces.rende= rkit.selectOneRenderer + renderer-type: org.richfaces.rende= rkit.selectRenderer - tag-class: org.richfaces.taglib.se= lectOneTag + tag-class: org.richfaces.taglib.se= lectTag Copied: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extra= s/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) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/ex= am-Component_Reference-richselect-Selection_items.xml_sample = (rev 0) +++ modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/ex= am-Component_Reference-richselect-Selection_items.xml_sample 2010-11-10 04:= 39:44 UTC (rev 20008) @@ -0,0 +1,4 @@ + + + + Deleted: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extr= as/exam-Component_Reference-richselectOne-Selection_items.xml_sample =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/ex= am-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/ex= am-Component_Reference-richselectOne-Selection_items.xml_sample 2010-11-10 = 04:39:44 UTC (rev 20008) @@ -1,4 +0,0 @@ - - - - Copied: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/image= s/figu-Component_Reference-richselect-richselect.png (from rev 20007, modul= es/docs/trunk/Component_Reference/src/main/docbook/en-US/images/figu-Compon= ent_Reference-richselectOne-richselectOne.png) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (Binary files differ) Deleted: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/imag= es/figu-Component_Reference-richselectOne-richselectOne.png =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (Binary files differ) Modified: modules/docs/trunk/Migration_Guide/src/main/docbook/en-US/Changes= _and_new_features.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- modules/docs/trunk/Migration_Guide/src/main/docbook/en-US/Changes_and_n= ew_features.xml 2010-11-10 00:18:48 UTC (rev 20007) +++ modules/docs/trunk/Migration_Guide/src/main/docbook/en-US/Changes_and_n= ew_features.xml 2010-11-10 04:39:44 UTC (rev 20008) @@ -994,10 +994,10 @@
= -
- <sgmltag><rich:selectOne></sgmltag> +
+ <sgmltag><rich:select></sgmltag> - The <rich:selectOne> component replaces the o= ld <rich:comboBox> component. + The <rich:select> component replaces the old = <rich:comboBox> component.
= @@ -1047,7 +1047,7 @@
<sgmltag><rich:comboBox></sgmltag> - The functionality of the old <rich:comboBox> = component is now available through the <rich:selectOne> component. + The functionality of the old <rich:comboBox> = component is now available through the <rich:select> component.
= --===============4795131413714875492==--