Author: artdaw
Date: 2007-11-14 09:47:10 -0500 (Wed, 14 Nov 2007)
New Revision: 3986
Modified:
trunk/docs/userguide/en/src/main/docbook/included/orderingList.xml
Log:
RF - 1184 - edit JavaScript API section
Modified: trunk/docs/userguide/en/src/main/docbook/included/orderingList.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/orderingList.xml 2007-11-14 14:46:45
UTC (rev 3985)
+++ trunk/docs/userguide/en/src/main/docbook/included/orderingList.xml 2007-11-14 14:47:10
UTC (rev 3986)
@@ -55,12 +55,12 @@
</para>
<programlisting role="XML"><![CDATA[...
<rich:orderingList value="#{bean.list}" var="list">
- <rich:column>
- <f:facet name="header">
- <h:outputText value="Name" />
- </f:facet>
- <h:inputText value="#{item.name}" />
- </rich:column>
+ <rich:column>
+ <f:facet name="header">
+ <h:outputText value="Name" />
+ </f:facet>
+ <h:inputText value="#{item.name}" />
+ </rich:column>
<rich:orderingList>
...
]]></programlisting>
@@ -114,12 +114,12 @@
</para>
<programlisting role="XML"><![CDATA[...
<rich:orderingList value="#{bean.simpleItems}" var="item"
selection="#{bean.selection}" controlsType="link">
- <rich:column>
- <f:facet name="header">
- <h:outputText value="Name" />
- </f:facet>
- <h:outputText value="#{item}" />
- </rich:column>
+ <rich:column>
+ <f:facet name="header">
+ <h:outputText value="Name" />
+ </f:facet>
+ <h:outputText value="#{item}" />
+ </rich:column>
</rich:orderingList>
...]]></programlisting>
@@ -143,16 +143,16 @@
</para>
<programlisting role="XML"><![CDATA[...
<rich:orderingList value="#{bean.simpleItems}" var="item"
controlsType="link">
- <f:facet name="caption">
- <h:outputText value="Caption" />
- </f:facet>
- <h:outputText value="#{item}" />
- <rich:column>
- <f:facet name="header">
- <h:outputText value="Name" />
+ <f:facet name="caption">
+ <h:outputText value="Caption" />
</f:facet>
<h:outputText value="#{item}" />
- </rich:column>
+ <rich:column>
+ <f:facet name="header">
+ <h:outputText value="Name" />
+ </f:facet>
+ <h:outputText value="#{item}" />
+ </rich:column>
</rich:orderingList>
...]]></programlisting>
@@ -186,18 +186,18 @@
<para>
<programlisting role="XML"><![CDATA[...
<rich:orderingList value="#{demoBean.items}" var="item"
selection="#{bean.selection}" controlType="button">
- <f:facet name="topControl">
- <h:outputText value="Move to top">
- </f:facet>
- <f:facet name="upControl">
- <h:outputText value="Move up">
- </f:facet>
- <f:facet name="downControl">
- <h:outputText value="Move down">
- </f:facet>
- <f:facet name="bottomControl">
- <h:outputText value="Move to bottom">
- </f:facet>
+ <f:facet name="topControl">
+ <h:outputText value="Move to top">
+ </f:facet>
+ <f:facet name="upControl">
+ <h:outputText value="Move up">
+ </f:facet>
+ <f:facet name="downControl">
+ <h:outputText value="Move down">
+ </f:facet>
+ <f:facet name="bottomControl">
+ <h:outputText value="Move to bottom">
+ </f:facet>
<rich:orderingList>
...
]]></programlisting>
@@ -284,15 +284,15 @@
<programlisting role="XML"><![CDATA[...
<rich:orderingList>
- <h:panelGrid columns="2" columnClasses="class1 class2">
- <h:outputText value="{list}"/>
- <h:panelGroup>
- <h:outputText value="{topControl}"/>
- <h:outputText value="{upControl}"/>
- <h:outputText value="{downControl}"/>
- <h:outputText value="{bottomControl}"/>
- </h:panelGroup>
- </h:panelGrid>
+ <h:panelGrid columns="2" columnClasses="class1
class2">
+ <h:outputText value="{list}"/>
+ <h:panelGroup>
+ <h:outputText value="{topControl}"/>
+ <h:outputText value="{upControl}"/>
+ <h:outputText value="{downControl}"/>
+ <h:outputText value="{bottomControl}"/>
+ </h:panelGroup>
+ </h:panelGrid>
</rich:orderingList>
...]]>
@@ -358,7 +358,7 @@
</row>
<row>
<entry>CTRL+Up arrow</entry>
- <entry>Moves selected item to one position
uppert</entry>
+ <entry>Moves selected item to one position upper</entry>
</row>
<row>
<entry>CTRL+Down arrow</entry>
@@ -391,79 +391,79 @@
<!--Sorting API -->
<row>
<entry>doSortAscending()</entry>
- <entry>Invert current sorting</entry>
+ <entry>Sort items in the list ascending</entry>
<entry>Component</entry>
</row>
<row>
<entry>doSortDescending()</entry>
- <entry/>
+ <entry>Sort items in the list descending</entry>
<entry>Component</entry>
</row>
<row>
<entry>doSort()</entry>
- <entry/>
+ <entry>Invert current sorting</entry>
<entry>Component</entry>
</row>
<!--Controls common API -->
<row>
<entry>doHide()</entry>
- <entry/>
+ <entry>Hide ordering control</entry>
<entry>Any Ordering control</entry>
</row>
<row>
<entry>doShow()</entry>
- <entry/>
+ <entry>Show ordering control</entry>
<entry>Any Ordering control</entry>
</row>
<row>
<entry>isShown()</entry>
- <entry/>
+ <entry>Check if current control is shown</entry>
<entry>Any Ordering control</entry>
</row>
<row>
<entry>doEnable()</entry>
- <entry/>
+ <entry>Enable ordering control</entry>
<entry>Any Ordering control</entry>
</row>
<row>
<entry>doDisable()</entry>
- <entry/>
+ <entry>Disable ordering control</entry>
<entry>Any Ordering control</entry>
</row>
<row>
<entry>isEnabled()</entry>
- <entry/>
+ <entry>Check if current control is enabled</entry>
<entry>Any Ordering control</entry>
</row>
<!--List managing API -->
<row>
<entry>moveUp()</entry>
- <entry/>
+ <entry>Move up selected item in the list</entry>
<entry>Any Item</entry>
</row>
<row>
<entry>moveDown()</entry>
- <entry/>
+ <entry>Move down selected item in the list</entry>
<entry>Any Item</entry>
</row>
<row>
<entry>moveTop()</entry>
- <entry/>
+ <entry>Move top selected item in the list</entry>
<entry>Any Item</entry>
</row>
<row>
<entry>moveBottom()</entry>
- <entry/>
+ <entry>Move bottom selected item in the list</entry>
<entry>Any Item</entry>
</row>
<row>
<entry>getSelection()</entry>
- <entry/>
+ <entry>Return currently selected item</entry>
<entry>Any Item</entry>
</row>
<row>
<entry>getItems()</entry>
- <entry/>
+ <entry>Return the collection of all items</entry>
<entry>Any Item</entry>
</row>
</tbody>
Show replies by date