[richfaces-svn-commits] JBoss Rich Faces SVN: r4427 - trunk/docs/userguide/en/src/main/docbook/included.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Mon Dec 3 11:36:22 EST 2007


Author: vkorluzhenko
Date: 2007-12-03 11:36:22 -0500 (Mon, 03 Dec 2007)
New Revision: 4427

Modified:
   trunk/docs/userguide/en/src/main/docbook/included/orderingList.desc.xml
   trunk/docs/userguide/en/src/main/docbook/included/orderingList.xml
Log:
http://jira.jboss.com/jira/browse/RF-1184 - checked section "Details of usage", fixed some errors

Modified: trunk/docs/userguide/en/src/main/docbook/included/orderingList.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/orderingList.desc.xml	2007-12-03 16:34:35 UTC (rev 4426)
+++ trunk/docs/userguide/en/src/main/docbook/included/orderingList.desc.xml	2007-12-03 16:36:22 UTC (rev 4427)
@@ -19,16 +19,18 @@
 <section>
     <title>Key Features</title>    
     <itemizedlist>
-        <listitem>Skinnable <property>ordering list</property> and child items</listitem>
-        <listitem>Customizable component layout (captions, headers, list items and ordering control set)</listitem>
-        <listitem>Disabled/enabled ordering controls</listitem>
-        <listitem>Multiple selection in the <property>ordering list</property></listitem>      
-        <listitem>Possibility to manage selection from 
+        <!--listitem>Skinnable <property>ordering list</property> and child items</listitem-->
+        <listitem>Highly customizable look and feel</listitem>
+        <listitem>Reordering and sorting possibilities for list items</listitem>
+        <!--listitem>Customizable component layout (captions, headers, list items and ordering control set)</listitem-->
+        <!--listitem>Disabled/enabled ordering controls</listitem-->
+        <listitem>Multiple selection of list items</listitem>      
+        <!--listitem>Possibility to manage selection from 
             <itemizedlist>
                 <listitem>Keyboard</listitem>
                 <listitem>Server side</listitem>
             </itemizedlist>
-        </listitem>   
+        </listitem-->   
     </itemizedlist>
 </section>
 </section>

Modified: trunk/docs/userguide/en/src/main/docbook/included/orderingList.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/orderingList.xml	2007-12-03 16:34:35 UTC (rev 4426)
+++ trunk/docs/userguide/en/src/main/docbook/included/orderingList.xml	2007-12-03 16:36:22 UTC (rev 4427)
@@ -70,7 +70,7 @@
         <para>
             <emphasis role="bold">Example:</emphasis>
         </para>
-        <programlisting role="JAVA"><![CDATA[import org.richfaces.component.html.OrderingList;
+        <programlisting role="JAVA"><![CDATA[import org.richfaces.component.html.HtmlOrderingList;
 ...	
 HtmlOrderingList myOrderingList = new HtmlOrderingList();
 ...]]></programlisting>
@@ -87,7 +87,7 @@
                     has three different representations for a single element: common, selected,
                     active. Combination of these states is possible.</listitem>
                 <listitem>
-                    <property>ordering controls set</property>
+                    <property>Ordering controls set</property>
                 </listitem>
             </itemizedlist>
         </para>
@@ -114,7 +114,7 @@
 <rich:orderingList value="#{bean.simpleItems}" var="item" selection="#{bean.selection}" controlsType="button">
         <rich:column>
             <f:facet name="header">
-	    <h:outputText value="Cars" />
+                    <h:outputText value="Cars" />
             </f:facet>
                   <h:outputText value="#{item}" />
         </rich:column>
@@ -123,25 +123,24 @@
 
         <para> The <emphasis role="bold">
                 <property>&lt;rich:orderingList&gt;</property>
-            </emphasis> component provides to use optional<emphasis>
+            </emphasis> component allows to use <emphasis>
                 <property>&quot;caption&quot;</property>
             </emphasis>, <emphasis>
-                <property>&quot;header&quot; </property>
-            </emphasis>(It&apos;s possible to define facet. It has two possible types of
-            representation: sortable and non-sortable) facets. </para>
+                <property>&quot;header&quot;</property>
+            </emphasis> and <emphasis>
+                <property>&quot;footer&quot; </property>
+            </emphasis> facets. </para>
 
         <!-- ADD SCREENSHOT-->
 
-
         <para>Simple example is placed below.</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="caption">
-            <h:outputText value="Optional Caption Facet" />
-        </f:facet>
+        <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}" />
         <rich:column>
             <f:facet name="header">
@@ -155,13 +154,15 @@
             </f:facet>
             <h:outputText value="#{item.price}" />
         </rich:column>
+        <f:facet name="footer"><h:outputText value="Footer Facet" /></f:facet>
 </rich:orderingList>
 ...]]></programlisting>
 
         <!-- ordering control set-->
         <para>The <emphasis role="bold">
                 <property>&lt;rich:orderingList&gt;</property>
-            </emphasis> component provides the possibility to use <property>ordering controls set</property>, which performs reordering. Every control has possibility to be disabled. </para>
+            </emphasis> component provides the possibility to use <property>ordering controls
+            set</property>, which performs reordering. Every control has possibility to be disabled. </para>
         <para>
             <emphasis>
                 <property> &quot;topControl&quot; </property>
@@ -225,7 +226,7 @@
                 </listitem>
 
                 <listitem><emphasis>
-                        <property> &quot;controlsVerticalAlign&quot; </property>
+                        <property> &quot;controlsVerticalAlign&quot;</property>
                     </emphasis> attribute. Possible values: <itemizedlist>
                         <listitem>top - controls could be rendered aligned to top side of a list </listitem>
                         <listitem>bottom - controls could be rendered aligned to bottom side of a
@@ -269,8 +270,7 @@
         <para>The component provides possibility to be customized using templating. The
             customization could be performed by a layout definition nested into the component. 5
             elements are provided to be defined inside template: {list}, {topControl},
-            {bottomControl}, {downCotrol}, {upControl}. <para>Thus the markup defined in the initial
-                picture could be defined as in the example placed below.</para>
+            {bottomControl}, {downCotrol}, {upControl}. <para>The example is placed below.</para>
         </para>
         <para>Example:</para>
         <programlisting role="XML"><![CDATA[...
@@ -287,7 +287,7 @@
 </rich:orderingList>
 ...]]>
         </programlisting>
-        <para>The <emphasis role="bold">
+        <!--para>The <emphasis role="bold">
                 <property>&lt;rich:orderingList&gt;</property>
             </emphasis> component provides the possibility to be customized using templating. The
             customization could be performed by layout definition nested to component.</para>
@@ -312,7 +312,7 @@
 			</h:panelGroup>
 		</h:panelGrid>
 	</rich:orderingList>
-...]]></programlisting>
+...]]></programlisting-->
     </section>
 
     <table>




More information about the richfaces-svn-commits mailing list