[richfaces-svn-commits] JBoss Rich Faces SVN: r4634 - branches/3.1.x/docs/userguide/en/src/main/docbook/included.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Sat Dec 8 10:59:03 EST 2007


Author: artdaw
Date: 2007-12-08 10:59:02 -0500 (Sat, 08 Dec 2007)
New Revision: 4634

Modified:
   branches/3.1.x/docs/userguide/en/src/main/docbook/included/orderingList.xml
Log:
http://jira.jboss.com/jira/browse/RF-1184 - 
controlsPosition, controlsLayout comment-out in Details of Usage in accordance with Table of Attributes.
Comment-out footer facet
add "topControlLabel" , "bottomControlLabel" , "upControlLabel" , "downControlLabel" attributes.
edit examples.

Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/orderingList.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/orderingList.xml	2007-12-08 15:58:31 UTC (rev 4633)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/orderingList.xml	2007-12-08 15:59:02 UTC (rev 4634)
@@ -103,7 +103,7 @@
         
         <para>Controls rendering is based on the <emphasis>
             <property>&quot;controlsType&quot; </property>
-        </emphasis> attribute. Possible types are button, link, none.
+        </emphasis> attribute. Possible types are button or none.
         </para>
             
         <para>
@@ -132,9 +132,11 @@
                 <property>&quot;caption&quot;</property>
             </emphasis>, <emphasis>
                 <property>&quot;header&quot;</property>
-            </emphasis> and <emphasis>
+            </emphasis> 
+            
+            <!--and <emphasis>
                 <property>&quot;footer&quot; </property>
-            </emphasis> facets. A caption could be also defined with <emphasis>
+            </emphasis> --> facets. A caption could be also defined with <emphasis>
                 <property>&quot;captionLabel&quot;</property>
             </emphasis> attribute.</para>
 
@@ -146,22 +148,24 @@
         </para>
         <programlisting role="XML"><![CDATA[...
 <rich:orderingList value="#{bean.simpleItems}" var="item" controlsType="button" selection="#{bean.selection}">
-        <f:facet name="caption"><h:outputText value="Caption Facet" /></f:facet>
-        <f:facet name="header"><h:outputText value="Header Facet" /></f:facet>
-        <h:outputText value="#{item}" />
+        <f:facet name="caption">
+                <h:outputText value="Caption Facet" />
+        </f:facet>
         <rich:column>
-            <f:facet name="header">
-	    <h:outputText value="Cars" />
-            </f:facet>
-            <h:outputText value="#{item.name}" />
+                <f:facet name="header">
+	            <h:outputText value="Cars" />
+                </f:facet>
+                <h:outputText value="#{item.name}" />
         </rich:column>
-                <rich:column>
-            <f:facet name="header">
-	    <h:outputText value="Price" />
-            </f:facet>
-            <h:outputText value="#{item.price}" />
+        <rich:column>
+                <f:facet name="header">
+	            <h:outputText value="Price" />
+                </f:facet>
+                <h:outputText value="#{item.price}" />
         </rich:column>
-        <f:facet name="footer"><h:outputText value="Footer Facet" /></f:facet>
+        <f:facet name="footer">
+                <h:outputText value="Footer Facet" />
+        </f:facet>
 </rich:orderingList>
 ...]]></programlisting>
 
@@ -187,29 +191,34 @@
                 <property> &quot;downControl&quot;</property>
             </emphasis> , <emphasis>
                 <property> &quot;downControlDisabled&quot; </property>
-            </emphasis> facets are used to replaces the default control with facets content.</para>
+            </emphasis> facets are used to replaces the default control with facets content.
+        </para>
+        <para>An <property>ordering controls set</property> could be also defined with 
+            <emphasis><property>&quot;topControlLabel&quot;</property></emphasis>, <emphasis><property>&quot;bottomControlLabel&quot;</property></emphasis>,
+            <emphasis><property>&quot;upControlLabel&quot;</property></emphasis>, <emphasis><property>&quot;downControlLabel&quot;</property></emphasis>attributes.
+        </para>
         <para>
             <emphasis role="bold">Example:</emphasis>
         </para>
         <programlisting role="XML"><![CDATA[...
 <rich:orderingList value="#{bean.simpleItems}" var="item" controlsType="button" selection="#{bean.selection}">
         <f:facet name="topControl">
-            <h:outputText value="Move to top">
+                <h:outputText value="Move to top" />
         </f:facet>
-            <f:facet name="upControl">
-            <h:outputText value="Move up">
+        <f:facet name="upControl">
+                <h:outputText value="Move up" />
         </f:facet>
-            <f:facet name="downControl">
-            <h:outputText value="Move down">
+        <f:facet name="downControl">
+                <h:outputText value="Move down" />
         </f:facet>
-            <f:facet name="bottomControl">
-            <h:outputText value="Move to bottom">
+        <f:facet name="bottomControl">
+                <h:outputText value="Move to bottom" />
         </f:facet>
 <rich:orderingList>
 ...]]></programlisting>
 
         <para>The position of the controls relatively to a list could be customized with: <itemizedlist>
-                <listitem>
+                <!--listitem>
                     <emphasis>
                         <property>&quot;controlsPosition&quot;</property>
                     </emphasis> attribute. Possible values: <itemizedlist>
@@ -219,7 +228,7 @@
                         <listitem>top - controls could be rendered above the list </listitem>
                         <listitem>bottom - controls could be rendered below the list </listitem>
                     </itemizedlist>
-                </listitem>
+                </listitem-->
                 <listitem><emphasis>
                         <property> &quot;controlsHorizontalAlign&quot;</property>
                     </emphasis> attribute. Possible values: <itemizedlist>
@@ -237,13 +246,13 @@
                         </listitem>
                     </itemizedlist>
                 </listitem>
-                <listitem><emphasis>
+                <!--listitem><emphasis>
                         <property>&quot;controlsLayout&quot;</property>
                     </emphasis> attribute. Possible values: <itemizedlist>
                         <listitem>inline - controls defined one by one in line </listitem>
                         <listitem>block - controls defined in column </listitem>
                     </itemizedlist>
-                </listitem>
+                </listitem-->
             </itemizedlist>
         </para>
 




More information about the richfaces-svn-commits mailing list