Author: vsukhov
Date: 2008-03-27 15:17:29 -0400 (Thu, 27 Mar 2008)
New Revision: 7331
Added:
trunk/docs/userguide/en/src/main/resources/images/toolBar4.PNG
Modified:
trunk/docs/userguide/en/src/main/docbook/included/toolBar.xml
Log:
http://jira.jboss.com/jira/browse/RF-2768 I've added information about possibility of
custom separator definition for toolBar
Modified: trunk/docs/userguide/en/src/main/docbook/included/toolBar.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/toolBar.xml 2008-03-27 19:11:28 UTC
(rev 7330)
+++ trunk/docs/userguide/en/src/main/docbook/included/toolBar.xml 2008-03-27 19:17:29 UTC
(rev 7331)
@@ -100,8 +100,44 @@
</emphasis> and <emphasis>
<property>"height"</property>
</emphasis> attributes are placed above all.</para>
-
+ <para>A custom separator can be added with the help of <emphasis>
+ <property>"itemSeparator"</property>
+ </emphasis> facet.</para>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="XML"><![CDATA[...
+<f:facet name="itemSeparator">
+ <rich:separator width="2" height="14" />
+</f:facet>
+...
+]]></programlisting>
+ <para>Custom separator can be also specified by URL to the separator image in
the attribute <emphasis>
+ <property>"itemSeparator"</property>
+ </emphasis> of the <emphasis
role="bold"><property><rich:toolBar></property></emphasis>.
</para>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="XML"><![CDATA[...
+<rich:toolBar id="toolBar" width="#{bean.width}"
height="#{bean.height}"
itemSeparator="/images/separator_img.jpg"/>
+...
+]]></programlisting>
+ <para>This is a result:</para>
+ <figure>
+ <title><emphasis role="bold">
+ <property><rich:toolBar></property>
+ </emphasis> with <emphasis>
+ <property>"itemSeparator"</property>
+ </emphasis> attribute.</title>
+
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/toolBar4.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
</section>
+ <para>As it could be seen in the picture above, the image for itemSeparator was
changed.</para>
<section>
<title>Look-and-Feel Customization</title>
Added: trunk/docs/userguide/en/src/main/resources/images/toolBar4.PNG
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/toolBar4.PNG
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream