[richfaces-svn-commits] JBoss Rich Faces SVN: r6357 - in trunk/docs/userguide/en/src/main: resources/images and 1 other directory.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Tue Feb 26 13:54:45 EST 2008


Author: vsukhov
Date: 2008-02-26 13:54:45 -0500 (Tue, 26 Feb 2008)
New Revision: 6357

Modified:
   trunk/docs/userguide/en/src/main/docbook/included/pickList.xml
   trunk/docs/userguide/en/src/main/resources/images/pickList2.png
   trunk/docs/userguide/en/src/main/resources/images/pickListClass.png
   trunk/docs/userguide/en/src/main/resources/images/pickListStyle.png
Log:
http://jira.jboss.com/jira/browse/RF-2174 Made changes in code samples and styleclasses screenshot.

Modified: trunk/docs/userguide/en/src/main/docbook/included/pickList.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/pickList.xml	2008-02-26 18:54:37 UTC (rev 6356)
+++ trunk/docs/userguide/en/src/main/docbook/included/pickList.xml	2008-02-26 18:54:45 UTC (rev 6357)
@@ -79,7 +79,7 @@
         <para>The <emphasis role="bold">
                 <property>&lt;rich:pickList&gt;</property>
             </emphasis> component consists of <itemizedlist>
-                <listitem>2 <property>Item lists</property> and every item has three different representations: common, selected, active.
+                <listitem>2 <property>item lists</property>. Every item has three different representations: common, selected, active.
                     Combination of these states is possible.</listitem>
                 <listitem>
                     <property>Move controls set</property> is a set of controls, which performs moving items between lists.
@@ -93,8 +93,19 @@
             The <emphasis>
                 <property> &quot;value&quot;</property>
             </emphasis> 
-            attribute is used to access the values of a list. 
+            attribute is used to access the values of a target list.  The <emphasis>
+                <property> &quot;selectItems&quot;</property></emphasis> facet is used to access the values of a source list.
+          </para>
+        <para>
+            <emphasis role="bold">Example:</emphasis>
         </para>
+        <programlisting role="XML"><![CDATA[...
+<rich:pickList value="#{pickBean.listValues}">
+        <f:selectItem itemValue="Bentley" itemLabel="Bentley"/>
+        <f:selectItem itemValue="Audi" itemLabel="Audi"/>
+        <f:selectItems value="#{pickBean.testList}"/>
+</rich:pickList>
+   ...]]></programlisting>
         <para>
             The <emphasis role="bold">
                 <property>&lt;rich:pickList&gt;</property></emphasis>
@@ -751,7 +762,7 @@
         </para>
         <programlisting role="CSS"><![CDATA[...
 .myClass{
-        font-style:italic;
+        font-weight:bold;
 }
 ...]]></programlisting>  
         <para>The <emphasis><property>&quot;styleClass&quot;</property></emphasis> attribute for <emphasis role="bold"

Modified: trunk/docs/userguide/en/src/main/resources/images/pickList2.png
===================================================================
(Binary files differ)

Modified: trunk/docs/userguide/en/src/main/resources/images/pickListClass.png
===================================================================
(Binary files differ)

Modified: trunk/docs/userguide/en/src/main/resources/images/pickListStyle.png
===================================================================
(Binary files differ)




More information about the richfaces-svn-commits mailing list