[richfaces-svn-commits] JBoss Rich Faces SVN: r6312 - 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
Fri Feb 22 13:57:48 EST 2008


Author: vsukhov
Date: 2008-02-22 13:57:47 -0500 (Fri, 22 Feb 2008)
New Revision: 6312

Modified:
   trunk/docs/userguide/en/src/main/docbook/included/pickList.xml
   trunk/docs/userguide/en/src/main/resources/images/pickList1.png
   trunk/docs/userguide/en/src/main/resources/images/pickList2.png
Log:
http://jira.jboss.com/jira/browse/RF-2174 Updated screenshots and deleted JavaScript API.

Modified: trunk/docs/userguide/en/src/main/docbook/included/pickList.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/pickList.xml	2008-02-22 17:15:33 UTC (rev 6311)
+++ trunk/docs/userguide/en/src/main/docbook/included/pickList.xml	2008-02-22 18:57:47 UTC (rev 6312)
@@ -54,8 +54,10 @@
             <emphasis role="bold">Example:</emphasis>
         </para>
         <programlisting role="XML"><![CDATA[...
-<pickList:pickList value="#{pickBean.listValues}">
-</pickList:pickList>
+<rich:pickList value="#{pickBean.listValues}">
+        <f:selectItem itemValue="Bentley" itemLabel="Bentley"/>
+        <f:selectItem itemValue="Audi" itemLabel="Audi"/>
+</rich:pickList>
 ...]]></programlisting>
     </section>
     <section>
@@ -77,9 +79,8 @@
         <para>The <emphasis role="bold">
                 <property>&lt;rich:pickList&gt;</property>
             </emphasis> component consists of <itemizedlist>
-                <listitem><property>Item list</property> element that displays a list of items. It
-                    has three different representations for a single element: common, selected,
-                    active. Combination of these states is possible.</listitem>
+                <listitem>2 <property>Item lists</property> and 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.
                 </listitem>
@@ -120,11 +121,11 @@
             <emphasis role="bold">Example:</emphasis>
         </para>
         <programlisting role="XML"><![CDATA[...
-<pickList:pickList listsHeight="#{pickBean.listsHeight}" sourceListWidth="#{pickBean.sourceListWidth}" targetListWidth="#{pickBean.targetListWidth}" value="#{pickBean.listValues}">
-        <f:selectItem itemValue="cat" itemLabel="cat"/>
-        <f:selectItem itemValue="dog" itemLabel="dog"/>
+<rich:pickList listsHeight="#{pickBean.listsHeight}" sourceListWidth="#{pickBean.sourceListWidth}" targetListWidth="#{pickBean.targetListWidth}" value="#{pickBean.listValues}">
+        <f:selectItem itemValue="Bentley" itemLabel="Bentley"/>
+        <f:selectItem itemValue="Audi" itemLabel="Audi"/>
         <f:selectItems value="#{pickBean.testList}"/>
-</pickList:pickList>
+</rich:pickList>
    ...]]></programlisting>
         
         <para>
@@ -141,12 +142,12 @@
               <emphasis role="bold">Example:</emphasis>
         </para>
         <programlisting role="XML"><![CDATA[...
-<pickList:pickList copyAllControlLabel = "#{pickBean.copyAllLabel}" copyControlLabel = "#{pickBean.copyLabel}" removeControlLabel = "#{pickBean.removeLabel}" 
+<rich:pickList copyAllControlLabel = "#{pickBean.copyAllLabel}" copyControlLabel = "#{pickBean.copyLabel}" removeControlLabel = "#{pickBean.removeLabel}" 
 removeAllControlLabel ="#{pickBean.removeAllLabel}" value="#{pickBean.listValues}">
-        <f:selectItem itemValue="cat" itemLabel="cat"/>
-        <f:selectItem itemValue="dog" itemLabel="dog"/>
+        <f:selectItem itemValue="Bentley" itemLabel="Bentley"/>
+        <f:selectItem itemValue="Audi" itemLabel="Audi"/>
         <f:selectItems value="#{pickBean.testList}"/>
-</pickList:pickList>
+</rich:pickList>
 ...]]></programlisting>
         
         <!-- ordering control set-->
@@ -185,7 +186,7 @@
         </table>
     </section>
 
-    <section>
+    <!-- section>
         <title>JavaScript API</title>
         <table>
             <title>JavaScript API</title>
@@ -196,8 +197,8 @@
                         <entry>Description</entry>
                     </row>
                 </thead>
-                <tbody>
-                    <!--Sorting API -->
+                <tbody-->
+                    <!--Sorting API-->
                     <!--
                     <row>
                         <entry>SortAscending()</entry>
@@ -214,7 +215,7 @@
                     -->
 
                     <!--Controls common API -->
-                    <row>
+                    <!--row>
                         <entry>hide()</entry>
                         <entry>Hides ordering control</entry>
                     </row>
@@ -237,9 +238,9 @@
                     <row>
                         <entry>isEnabled()</entry>
                         <entry>Checksif current control is enabled</entry>
-                    </row>
+                    </row-->
                     <!--List managing API -->
-                    <row>
+                    <!--row>
                         <entry>copy()</entry>
                         <entry>Copies selected item from the source list to the target list</entry>
                     </row>
@@ -266,7 +267,7 @@
                 </tbody>
             </tgroup>
         </table>
-    </section>
+    </section-->
 
     <section>
         <title>Look-and-Feel Customization</title>

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

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




More information about the richfaces-svn-commits mailing list