Author: smukhina
Date: 2007-07-10 11:01:13 -0400 (Tue, 10 Jul 2007)
New Revision: 1580
Modified:
trunk/docs/userguide/en/src/main/docbook/included/column.xml
trunk/docs/userguide/en/src/main/docbook/included/columnGroup.xml
trunk/docs/userguide/en/src/main/docbook/included/dataDefinitionList.xml
trunk/docs/userguide/en/src/main/docbook/included/dataFilterSlider.xml
trunk/docs/userguide/en/src/main/docbook/included/dataGrid.xml
trunk/docs/userguide/en/src/main/docbook/included/dataList.xml
trunk/docs/userguide/en/src/main/docbook/included/dataOrderedList.xml
trunk/docs/userguide/en/src/main/docbook/included/dataTable.xml
trunk/docs/userguide/en/src/main/docbook/included/datascroller.xml
trunk/docs/userguide/en/src/main/docbook/included/dragIndicator.xml
trunk/docs/userguide/en/src/main/docbook/included/dragIndicator1.xml
trunk/docs/userguide/en/src/main/docbook/included/draggable.xml
trunk/docs/userguide/en/src/main/docbook/included/dropZone.xml
trunk/docs/userguide/en/src/main/docbook/included/gmap.xml
trunk/docs/userguide/en/src/main/docbook/included/inputNumberSlider.xml
trunk/docs/userguide/en/src/main/docbook/included/inputNumberSpinner.xml
trunk/docs/userguide/en/src/main/docbook/included/menuGroup.xml
trunk/docs/userguide/en/src/main/docbook/included/menuItem.xml
trunk/docs/userguide/en/src/main/docbook/included/menuSeparator.xml
trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml
trunk/docs/userguide/en/src/main/docbook/included/paint2D.xml
trunk/docs/userguide/en/src/main/docbook/included/panel.xml
trunk/docs/userguide/en/src/main/docbook/included/panelBar.xml
trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml
trunk/docs/userguide/en/src/main/docbook/included/separator.xml
trunk/docs/userguide/en/src/main/docbook/included/simpleTogglePanel.xml
trunk/docs/userguide/en/src/main/docbook/included/spacer.xml
trunk/docs/userguide/en/src/main/docbook/included/subTable.xml
trunk/docs/userguide/en/src/main/docbook/included/suggestionBox.xml
trunk/docs/userguide/en/src/main/docbook/included/tab.xml
trunk/docs/userguide/en/src/main/docbook/included/tabPanel.xml
trunk/docs/userguide/en/src/main/docbook/included/toggleControl.xml
trunk/docs/userguide/en/src/main/docbook/included/togglePanel.xml
trunk/docs/userguide/en/src/main/docbook/included/toolBar.xml
trunk/docs/userguide/en/src/main/docbook/included/toolBarGroup.xml
trunk/docs/userguide/en/src/main/docbook/included/tree.xml
trunk/docs/userguide/en/src/main/docbook/included/treeNode.xml
Log:
http://jira.jboss.com/jira/browse/RF-430
some code samples are framed
Modified: trunk/docs/userguide/en/src/main/docbook/included/column.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/column.xml 2007-07-10 14:49:51 UTC
(rev 1579)
+++ trunk/docs/userguide/en/src/main/docbook/included/column.xml 2007-07-10 15:01:13 UTC
(rev 1580)
@@ -60,6 +60,10 @@
</section>
<section>
<title>Creating the Component Dynamically Using Java</title>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="JAVA"><![CDATA[import
org.richfaces.component.html.HtmlColumn;
...
HtmlColumn myColumn = new HtmlColumn();
Modified: trunk/docs/userguide/en/src/main/docbook/included/columnGroup.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/columnGroup.xml 2007-07-10 14:49:51
UTC (rev 1579)
+++ trunk/docs/userguide/en/src/main/docbook/included/columnGroup.xml 2007-07-10 15:01:13
UTC (rev 1580)
@@ -63,6 +63,10 @@
</section>
<section>
<title>Creating the Component Dynamically Using Java</title>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="JAVA"><![CDATA[import
org.richfaces.component.html.HtmlColumnGroup;
...
HtmlColumnGroup myRow = new HtmlColumnGroup();
Modified: trunk/docs/userguide/en/src/main/docbook/included/dataDefinitionList.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dataDefinitionList.xml 2007-07-10
14:49:51 UTC (rev 1579)
+++ trunk/docs/userguide/en/src/main/docbook/included/dataDefinitionList.xml 2007-07-10
15:01:13 UTC (rev 1580)
@@ -59,6 +59,10 @@
<section>
<title>Creating the Component Dynamically Using Java</title>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="JAVA"><![CDATA[import
org.richfaces.component.html.HtmlDataDefinitionList;
...
HtmlDataDefinitionList myList = new HtmlDataDefinitionList();
Modified: trunk/docs/userguide/en/src/main/docbook/included/dataFilterSlider.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dataFilterSlider.xml 2007-07-10
14:49:51 UTC (rev 1579)
+++ trunk/docs/userguide/en/src/main/docbook/included/dataFilterSlider.xml 2007-07-10
15:01:13 UTC (rev 1580)
@@ -54,6 +54,10 @@
</section>
<section>
<title>Creating the Component Dynamically Using Java</title>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="JAVA"><![CDATA[import
org.richfaces.component.html.HtmldataFilterSlider;
...
HtmldataFilterSlider mySlider = new HtmldataFilterSlider();
Modified: trunk/docs/userguide/en/src/main/docbook/included/dataGrid.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dataGrid.xml 2007-07-10 14:49:51 UTC
(rev 1579)
+++ trunk/docs/userguide/en/src/main/docbook/included/dataGrid.xml 2007-07-10 15:01:13 UTC
(rev 1580)
@@ -58,6 +58,10 @@
</section>
<section>
<title>Creating the Component Dynamically Using Java</title>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="JAVA"><![CDATA[import
org.richfaces.component.html.HtmlDataGrid;
...
HtmlDataGrid myList = new HtmlDataGrid();
Modified: trunk/docs/userguide/en/src/main/docbook/included/dataList.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dataList.xml 2007-07-10 14:49:51 UTC
(rev 1579)
+++ trunk/docs/userguide/en/src/main/docbook/included/dataList.xml 2007-07-10 15:01:13 UTC
(rev 1580)
@@ -59,6 +59,10 @@
</section>
<section>
<title>Creating the Component Dynamically Using Java</title>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="JAVA"><![CDATA[import
org.richfaces.component.html.HtmlDataList;
...
HtmlDataList myList = new HtmlDataList();
Modified: trunk/docs/userguide/en/src/main/docbook/included/dataOrderedList.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dataOrderedList.xml 2007-07-10
14:49:51 UTC (rev 1579)
+++ trunk/docs/userguide/en/src/main/docbook/included/dataOrderedList.xml 2007-07-10
15:01:13 UTC (rev 1580)
@@ -58,6 +58,10 @@
</section>
<section>
<title>Creating the Component Dynamically Using Java</title>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="JAVA"><![CDATA[import
org.richfaces.component.html.HtmlDataOrderedList;
...
HtmlDataOrderedList myList = new HtmlDataOrderedList();
Modified: trunk/docs/userguide/en/src/main/docbook/included/dataTable.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dataTable.xml 2007-07-10 14:49:51
UTC (rev 1579)
+++ trunk/docs/userguide/en/src/main/docbook/included/dataTable.xml 2007-07-10 15:01:13
UTC (rev 1580)
@@ -59,6 +59,10 @@
</section>
<section>
<title>Dynamical creation from Java code</title>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="JAVA"><![CDATA[import
org.richfaces.component.html.HtmlDataTable;
...
HtmlDataTable myTable = new HtmlDataTable();
Modified: trunk/docs/userguide/en/src/main/docbook/included/datascroller.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/datascroller.xml 2007-07-10 14:49:51
UTC (rev 1579)
+++ trunk/docs/userguide/en/src/main/docbook/included/datascroller.xml 2007-07-10 15:01:13
UTC (rev 1580)
@@ -61,6 +61,10 @@
</section>
<section>
<title>Dynamical creation from Java code</title>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="JAVA"><![CDATA[import
org.richfaces.component.html.HtmlDatascroller;
...
HtmlDatascroller myScroll = new HtmlDatascroller();
Modified: trunk/docs/userguide/en/src/main/docbook/included/dragIndicator.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dragIndicator.xml 2007-07-10
14:49:51 UTC (rev 1579)
+++ trunk/docs/userguide/en/src/main/docbook/included/dragIndicator.xml 2007-07-10
15:01:13 UTC (rev 1580)
@@ -65,6 +65,10 @@
</section>
<section>
<title>Creating the Component Dynamically Using Java</title>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="JAVA"><![CDATA[import
org.richfaces.component.html.HtmlDragIndicator;
...
HtmlDragIndicator myDragIndicator = new HtmlDragIndicator();
Modified: trunk/docs/userguide/en/src/main/docbook/included/dragIndicator1.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dragIndicator1.xml 2007-07-10
14:49:51 UTC (rev 1579)
+++ trunk/docs/userguide/en/src/main/docbook/included/dragIndicator1.xml 2007-07-10
15:01:13 UTC (rev 1580)
@@ -64,6 +64,10 @@
</section>
<section>
<title>Creating the Component Dynamically Using Java</title>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="JAVA"><![CDATA[import
org.richfaces.component.html.HtmlDragIndicator;
HtmlDragIndicator myDragIndicator = new HtmlDragIndicator();
...
Modified: trunk/docs/userguide/en/src/main/docbook/included/draggable.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/draggable.xml 2007-07-10 14:49:51
UTC (rev 1579)
+++ trunk/docs/userguide/en/src/main/docbook/included/draggable.xml 2007-07-10 15:01:13
UTC (rev 1580)
@@ -46,6 +46,10 @@
<section>
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page: </para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:toolBar>
<rich:draggable dragType="file">
@@ -57,6 +61,10 @@
</section>
<section>
<title>Creating the Component Dynamically Using Java</title>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="JAVA"><![CDATA[...
org.richfaces.component.html.HtmlDraggable myDragZone = new
org.richfaces.component.html.HtmlDraggable();
...
Modified: trunk/docs/userguide/en/src/main/docbook/included/dropZone.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dropZone.xml 2007-07-10 14:49:51 UTC
(rev 1579)
+++ trunk/docs/userguide/en/src/main/docbook/included/dropZone.xml 2007-07-10 15:01:13 UTC
(rev 1580)
@@ -45,6 +45,10 @@
<section>
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page: </para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:toolBar>
<rich:draggable dragType="DropIcons">
@@ -61,6 +65,10 @@
</section>
<section>
<title>Creating the Component Dynamically Using Java</title>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="JAVA"><![CDATA[...
org.richfaces.component.html.HtmlDropZone myDragZone = new
org.richfaces.component.html.HtmlDropZone();
...
Modified: trunk/docs/userguide/en/src/main/docbook/included/gmap.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/gmap.xml 2007-07-10 14:49:51 UTC
(rev 1579)
+++ trunk/docs/userguide/en/src/main/docbook/included/gmap.xml 2007-07-10 15:01:13 UTC
(rev 1580)
@@ -45,6 +45,10 @@
<section>
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page: </para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:gmap gmapKey="..."/>
...
@@ -52,6 +56,10 @@
</section>
<section>
<title>Creating the Component Dynamically Using Java</title>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="JAVA"><![CDATA[import
org.richfaces.component.html.HtmlGmap;
...
HtmlGmap myMap = new HtmlGmap();
Modified: trunk/docs/userguide/en/src/main/docbook/included/inputNumberSlider.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/inputNumberSlider.xml 2007-07-10
14:49:51 UTC (rev 1579)
+++ trunk/docs/userguide/en/src/main/docbook/included/inputNumberSlider.xml 2007-07-10
15:01:13 UTC (rev 1580)
@@ -44,6 +44,10 @@
<section>
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page: </para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:inputNumberSlider minValue="0" maxValue="100"
step="1"/>
...
@@ -51,6 +55,10 @@
</section>
<section>
<title>Creating the Component Dynamically Using Java</title>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="JAVA"><![CDATA[import
org.richfaces.component.html.HtmlInputNumberSlider;
...
HtmlInputNumberSlider mySlider = new HtmlInputNumberSlider();
Modified: trunk/docs/userguide/en/src/main/docbook/included/inputNumberSpinner.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/inputNumberSpinner.xml 2007-07-10
14:49:51 UTC (rev 1579)
+++ trunk/docs/userguide/en/src/main/docbook/included/inputNumberSpinner.xml 2007-07-10
15:01:13 UTC (rev 1580)
@@ -45,6 +45,10 @@
<section>
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page: </para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:inputNumberSpinner minValue="0" maxValue="100"
step="1"/>
...
@@ -52,6 +56,10 @@
</section>
<section>
<title>Creating the Component Dynamically Using Java</title>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="JAVA"><![CDATA[import
org.richfaces.component.html.HtmlInputNumberSpinner;
...
HtmlInputNumberSpinner mySpinner = new HtmlInputNumberSpinner ();
Modified: trunk/docs/userguide/en/src/main/docbook/included/menuGroup.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/menuGroup.xml 2007-07-10 14:49:51
UTC (rev 1579)
+++ trunk/docs/userguide/en/src/main/docbook/included/menuGroup.xml 2007-07-10 15:01:13
UTC (rev 1580)
@@ -61,6 +61,10 @@
<section>
<title>Creating the Component Dynamically Using Java</title>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="java"><![CDATA[...
org.richfaces.component.html.HtmlMenuGroup myGroup = new
org.richfaces.component.html.HtmlMenuGroup ();
...
Modified: trunk/docs/userguide/en/src/main/docbook/included/menuItem.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/menuItem.xml 2007-07-10 14:49:51 UTC
(rev 1579)
+++ trunk/docs/userguide/en/src/main/docbook/included/menuItem.xml 2007-07-10 15:01:13 UTC
(rev 1580)
@@ -59,6 +59,10 @@
<section>
<title>Creating the Component Dynamically Using Java</title>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="java"><![CDATA[...
org.richfaces.component.html.HtmlMenuItem myItem = new
org.richfaces.component.html.HtmlMenuItem ();
...]]></programlisting>
Modified: trunk/docs/userguide/en/src/main/docbook/included/menuSeparator.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/menuSeparator.xml 2007-07-10
14:49:51 UTC (rev 1579)
+++ trunk/docs/userguide/en/src/main/docbook/included/menuSeparator.xml 2007-07-10
15:01:13 UTC (rev 1580)
@@ -59,6 +59,10 @@
<section>
<title>Creating the Component Dynamically Using Java</title>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="java"><![CDATA[...
org.richfaces.component.html.HtmlMenuSeparator mySep = new
org.richfaces.component.html.HtmlMenuSeparator ();
...]]></programlisting>
Modified: trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml 2007-07-10 14:49:51
UTC (rev 1579)
+++ trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml 2007-07-10 15:01:13
UTC (rev 1580)
@@ -224,6 +224,10 @@
</emphasis> attributes specifying the minimal window sizes.</para>
<para> You can pass your parameters during modalPanel opening or closing. This
passing could be
performed in the following way: </para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting
role="JAVA">Richfaces.showModalPanel('panelId', {left: auto},
{param1: value1});</programlisting>
<para> Thus, except the standard modalPanel parameters you can pass any of your
own parameters. </para>
<para> Also modalPanel allows to handle its own opening and closing events on
the client side.
@@ -231,6 +235,10 @@
case. </para>
<para> The following example shows how on the client side to define opening and
closing event
handling in such a way that your own parameters could also be obtained:
</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting
role="JAVA">onshow="alert(event.parameters.param1)"</programlisting>
<para> Here, during modalPanel opening the value of a passing parameter is
output. </para>
Modified: trunk/docs/userguide/en/src/main/docbook/included/paint2D.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/paint2D.xml 2007-07-10 14:49:51 UTC
(rev 1579)
+++ trunk/docs/userguide/en/src/main/docbook/included/paint2D.xml 2007-07-10 15:01:13 UTC
(rev 1580)
@@ -45,6 +45,10 @@
<section>
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page: </para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:paint2D paint="#{paint2D.paint}"
data="#{paint2DModel}"/>
...
@@ -57,6 +61,10 @@
</section>
<section>
<title>Creating the Component Dynamically Using Java</title>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="JAVA"><![CDATA[import
org.richfaces.component.html.HtmlPaint2D;
...
HtmlPaint2D myImage = new HtmlPaint2D();
Modified: trunk/docs/userguide/en/src/main/docbook/included/panel.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panel.xml 2007-07-10 14:49:51 UTC
(rev 1579)
+++ trunk/docs/userguide/en/src/main/docbook/included/panel.xml 2007-07-10 15:01:13 UTC
(rev 1580)
@@ -45,6 +45,10 @@
<section>
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page: </para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:panel>
<f:facet name="header">
@@ -59,6 +63,10 @@
</section>
<section>
<title>Creating the Component Dynamically Using Java</title>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="JAVA"><![CDATA[import
org.richfaces.component.html.HtmlPanel;
...
HtmlPanel myPanel = new HtmlPanel();
Modified: trunk/docs/userguide/en/src/main/docbook/included/panelBar.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panelBar.xml 2007-07-10 14:49:51 UTC
(rev 1579)
+++ trunk/docs/userguide/en/src/main/docbook/included/panelBar.xml 2007-07-10 15:01:13 UTC
(rev 1580)
@@ -45,6 +45,10 @@
<section>
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page:
</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:panelBar>
<!--//... -->
@@ -60,6 +64,10 @@
</section>
<section>
<title>Creating the Component Dynamically Using Java</title>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="JAVA"><![CDATA[import
org.richfaces.component.html.HtmlPanelBar;
...
HtmlPanelBar myBar = new HtmlPanelBar();
@@ -158,9 +166,6 @@
</tbody>
</tgroup>
</table>
- <para>
- <emphasis role="bold">Example:</emphasis>
- </para>
<para>CSS code piece used on the page:</para>
<para>
Modified: trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml 2007-07-10 14:49:51
UTC (rev 1579)
+++ trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml 2007-07-10 15:01:13
UTC (rev 1580)
@@ -45,6 +45,10 @@
<section>
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page: </para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:panelBar>
<rich:panelBarItem label="Canon">
@@ -59,6 +63,10 @@
</section>
<section>
<title>Creating the Component Dynamically Using Java</title>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="JAVA"><![CDATA[import
org.richfaces.component.html.HtmlPanelBarItem;
...
HtmlPanelBarItem myBarItem = new HtmlPanelBarItem();
Modified: trunk/docs/userguide/en/src/main/docbook/included/separator.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/separator.xml 2007-07-10 14:49:51
UTC (rev 1579)
+++ trunk/docs/userguide/en/src/main/docbook/included/separator.xml 2007-07-10 15:01:13
UTC (rev 1580)
@@ -56,6 +56,10 @@
</section>
<section>
<title>Creating the Component Dynamically Using Java</title>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="JAVA"><![CDATA[import
org.richfaces.component.html.HtmlSeparator;
...
HtmlSeparator mySeparator = new HtmlSeparator();
Modified: trunk/docs/userguide/en/src/main/docbook/included/simpleTogglePanel.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/simpleTogglePanel.xml 2007-07-10
14:49:51 UTC (rev 1579)
+++ trunk/docs/userguide/en/src/main/docbook/included/simpleTogglePanel.xml 2007-07-10
15:01:13 UTC (rev 1580)
@@ -46,6 +46,10 @@
<section>
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page: </para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:simpleTogglePanel>
...
@@ -55,6 +59,10 @@
</section>
<section>
<title>Creating the Component Dynamically Using Java</title>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="JAVA"><![CDATA[import
org.richfaces.component.html.HtmlSimpleTogglePanel;
...
HtmlSimpleTogglePanel myPanel = new HtmlSimpleTogglePanel();
Modified: trunk/docs/userguide/en/src/main/docbook/included/spacer.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/spacer.xml 2007-07-10 14:49:51 UTC
(rev 1579)
+++ trunk/docs/userguide/en/src/main/docbook/included/spacer.xml 2007-07-10 15:01:13 UTC
(rev 1580)
@@ -55,6 +55,10 @@
</section>
<section>
<title>Creating the Component Dynamically Using Java</title>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="JAVA"><![CDATA[import
org.richfaces.component.html.HtmlSpacer;
...
HtmlSpacer mySpacer = new HtmlSpacer();
Modified: trunk/docs/userguide/en/src/main/docbook/included/subTable.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/subTable.xml 2007-07-10 14:49:51 UTC
(rev 1579)
+++ trunk/docs/userguide/en/src/main/docbook/included/subTable.xml 2007-07-10 15:01:13 UTC
(rev 1580)
@@ -60,6 +60,10 @@
</section>
<section>
<title>Creating the Component Dynamically Using Java</title>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="JAVA"><![CDATA[import
org.richfaces.component.html.HtmlSubTable;
...
HtmlSubTable mySubTable = new HtmlSubTable();
Modified: trunk/docs/userguide/en/src/main/docbook/included/suggestionBox.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/suggestionBox.xml 2007-07-10
14:49:51 UTC (rev 1579)
+++ trunk/docs/userguide/en/src/main/docbook/included/suggestionBox.xml 2007-07-10
15:01:13 UTC (rev 1580)
@@ -45,6 +45,10 @@
<section>
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page:
</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<h:inputText value="#{bean.property}" id="suggest"/>
<rich:suggestionbox for="suggest"
suggestionAction="#{bean.autocomplete}"
@@ -72,6 +76,10 @@
</section>
<section>
<title>Creating the Component Dynamically Using Java</title>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="JAVA"><![CDATA[import
org.richfaces.component.html.HtmlSuggestionBox;
...
HtmlSuggestionBox myList = new HtmlSuggestionBox();
Modified: trunk/docs/userguide/en/src/main/docbook/included/tab.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/tab.xml 2007-07-10 14:49:51 UTC (rev
1579)
+++ trunk/docs/userguide/en/src/main/docbook/included/tab.xml 2007-07-10 15:01:13 UTC (rev
1580)
@@ -44,6 +44,10 @@
<section>
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page: </para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:tabPanel>
<!--Set of Tabs inside-->
@@ -56,6 +60,10 @@
</section>
<section>
<title>Creating the Component Dynamically Using Java</title>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="JAVA"><![CDATA[import
org.richfaces.component.html.HtmlTab;
...
HtmlTab myTab = new HtmlTab();
@@ -112,7 +120,10 @@
</listitem>
</itemizedlist>
<para>
- Some event could be performed on the tab which has been entered/left using
"ontabenter"/"ontableave" attributes. See the example below.
+ Some event could be performed on the tab which has been entered/left using
"ontabenter"/"ontableave" attributes. See the example
below.</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
<rich:tabPanel>
Modified: trunk/docs/userguide/en/src/main/docbook/included/tabPanel.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/tabPanel.xml 2007-07-10 14:49:51 UTC
(rev 1579)
+++ trunk/docs/userguide/en/src/main/docbook/included/tabPanel.xml 2007-07-10 15:01:13 UTC
(rev 1580)
@@ -45,6 +45,10 @@
<section>
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page: </para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:tabPanel>
<!--//Set of Tabs inside-->
@@ -57,6 +61,10 @@
</section>
<section>
<title>Creating the Component Dynamically Using Java</title>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="JAVA"><![CDATA[import
org.richfaces.component.html.HtmlTabPanel;
...
HtmlTabPanel myTabPanel = new HtmlTabPanel();
Modified: trunk/docs/userguide/en/src/main/docbook/included/toggleControl.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/toggleControl.xml 2007-07-10
14:49:51 UTC (rev 1579)
+++ trunk/docs/userguide/en/src/main/docbook/included/toggleControl.xml 2007-07-10
15:01:13 UTC (rev 1580)
@@ -46,6 +46,10 @@
<section>
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page: </para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:toggleControl for="panel"/>
...
@@ -57,6 +61,10 @@
</section>
<section>
<title>Creating the Component Dynamically Using Java</title>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="JAVA"><![CDATA[import
org.richfaces.component.html.HtmlToggleControl;
...
HtmlToggleControl myControl = new HtmlToggleControl();
Modified: trunk/docs/userguide/en/src/main/docbook/included/togglePanel.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/togglePanel.xml 2007-07-10 14:49:51
UTC (rev 1579)
+++ trunk/docs/userguide/en/src/main/docbook/included/togglePanel.xml 2007-07-10 15:01:13
UTC (rev 1580)
@@ -45,6 +45,10 @@
<section>
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page: </para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:togglePanel>
<f:facet name="first">
@@ -62,6 +66,10 @@
</section>
<section>
<title>Creating the Component Dynamically Using Java</title>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="JAVA"><![CDATA[import
org.richfaces.component.html.HtmlTogglePanel;
...
HtmlTogglePanel myPanel = new HtmlTogglePanel();
Modified: trunk/docs/userguide/en/src/main/docbook/included/toolBar.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/toolBar.xml 2007-07-10 14:49:51 UTC
(rev 1579)
+++ trunk/docs/userguide/en/src/main/docbook/included/toolBar.xml 2007-07-10 15:01:13 UTC
(rev 1580)
@@ -45,6 +45,10 @@
<section>
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page: </para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:toolBar>
<!--//...Set of action or other JSF components-->
@@ -54,6 +58,10 @@
</section>
<section>
<title>Creating the Component Dynamically Using Java</title>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="JAVA"><![CDATA[import
org.richfaces.component.html.HtmlToolBar;
...
HtmlToolBar myToolBar = new HtmlToolBar();
Modified: trunk/docs/userguide/en/src/main/docbook/included/toolBarGroup.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/toolBarGroup.xml 2007-07-10 14:49:51
UTC (rev 1579)
+++ trunk/docs/userguide/en/src/main/docbook/included/toolBarGroup.xml 2007-07-10 15:01:13
UTC (rev 1580)
@@ -45,6 +45,10 @@
<section>
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page: </para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:toolBar>
...
@@ -61,6 +65,10 @@
</section>
<section>
<title>Creating the Component Dynamically Using Java</title>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="JAVA"><![CDATA[import
org.richfaces.component.html.HtmlToolBarGroup;
...
HtmlToolBarGroup myToolBarGroup = new HtmlToolBarGroup();
Modified: trunk/docs/userguide/en/src/main/docbook/included/tree.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/tree.xml 2007-07-10 14:49:51 UTC
(rev 1579)
+++ trunk/docs/userguide/en/src/main/docbook/included/tree.xml 2007-07-10 15:01:13 UTC
(rev 1580)
@@ -45,6 +45,10 @@
<section>
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page: </para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:tree>
<!--Set of the Tree nodes-->
@@ -54,6 +58,10 @@
</section>
<section>
<title>Creating the Component Dynamically Using Java</title>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="JAVA"><![CDATA[import
org.richfaces.component.html.HtmlTree;
...
HtmlTree myPanel = new HtmlTree();
Modified: trunk/docs/userguide/en/src/main/docbook/included/treeNode.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/treeNode.xml 2007-07-10 14:49:51 UTC
(rev 1579)
+++ trunk/docs/userguide/en/src/main/docbook/included/treeNode.xml 2007-07-10 15:01:13 UTC
(rev 1580)
@@ -45,6 +45,10 @@
<section>
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page: </para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:tree ... faceNode="simpleNode">
<rich:treeNode type="simpleNode">
@@ -56,6 +60,10 @@
</section>
<section>
<title>Creating the Component Dynamically Using Java</title>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="JAVA"><![CDATA[import
org.richfaces.component.html.HtmlTreeNode;
...
HtmlTreeNode myPanel = new HtmlTreeNode();