Author: artdaw
Date: 2007-11-15 09:45:23 -0500 (Thu, 15 Nov 2007)
New Revision: 4007
Modified:
trunk/docs/userguide/en/src/main/docbook/included/orderingList.xml
Log:
RF - 1184 - Add Custom Templates section
Modified: trunk/docs/userguide/en/src/main/docbook/included/orderingList.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/orderingList.xml 2007-11-15 14:44:50
UTC (rev 4006)
+++ trunk/docs/userguide/en/src/main/docbook/included/orderingList.xml 2007-11-15 14:45:23
UTC (rev 4007)
@@ -297,6 +297,36 @@
...]]>
</programlisting>
+ <para>The <emphasis role="bold">
+ <property><rich:orderingList></property>
+ </emphasis> component provides the possibility to be customized using
templating. The
+ customization could be performed by layout definition nested to
component.</para>
+ <para>5 elements could be provided to be defined inside template (all
standard controls
+ should also possible to use inside): list, topcontrol, bottomControl,
downCotrol, upControl.</para>
+ <para>The markup defined in the initial picture could be defined as in the
following example.</para>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="XML"><![CDATA[...
+<rich:orderingList>
+ <!-- All the columns-->
+ ...
+ <!-- All the columns-->
+ <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>
+
+...
+]]></programlisting>
+
+
</section>
<para>Keyboard usage</para>
Show replies by date