Author: smukhina
Date: 2007-07-09 09:12:04 -0400 (Mon, 09 Jul 2007)
New Revision: 1544
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/dragIndicator.xml
trunk/docs/userguide/en/src/main/docbook/included/dragIndicator1.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/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/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/togglePanel.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 were framed properly
Modified: trunk/docs/userguide/en/src/main/docbook/included/column.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/column.xml 2007-07-09 12:32:01 UTC
(rev 1543)
+++ trunk/docs/userguide/en/src/main/docbook/included/column.xml 2007-07-09 13:12:04 UTC
(rev 1544)
@@ -44,6 +44,10 @@
<section>
<title>Creating the Component with a Page Tag</title>
<para>To create the simplest variant of <property>column</property>
on a page, use the following syntax:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:dataTable var="set">
<rich:column>
@@ -66,6 +70,10 @@
<title>Details of Usage</title>
<para>To output a simple table, the <emphasis
role="bold"><property><rich:column></property></emphasis>
component is used the same way as the standard
<emphasis
role="bold"><property><h:column></property></emphasis>,
i.e. the following code on a page is used:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:dataTable value="#{capitalsBean.capitals}" var="cap"
rows="5">
<rich:column>
@@ -100,6 +108,10 @@
the <emphasis
><property>"colspan"</property></emphasis>
attribute, which is similar to an HTML one, specifying that the first column contains 3
columns.
In addition, it's necessary to specify that the next column begins from the
first row with the help of the
<emphasis
><property>"breakBefore"</property></emphasis>
attribute = true.</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:dataTable value="#{capitalsBean.capitals}" var="cap"
rows="5">
<rich:column colspan="3">
@@ -129,6 +141,10 @@
<para>The same way is used for <property>columns</property>
grouping with the <emphasis
><property>"rowspan"</property></emphasis>
attribute that is similar to an HTML one responsible for rows quantity definition
occupied with the
current one. The only thing to add in the example is an instruction to move onto the
next row for each next after the second column.</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:dataTable value="#{capitalsBean.capitals}" var="cap"
rows="5">
<rich:column rowspan="3">
Modified: trunk/docs/userguide/en/src/main/docbook/included/columnGroup.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/columnGroup.xml 2007-07-09 12:32:01
UTC (rev 1543)
+++ trunk/docs/userguide/en/src/main/docbook/included/columnGroup.xml 2007-07-09 13:12:04
UTC (rev 1544)
@@ -42,6 +42,10 @@
<section>
<title>Creating the Component with a Page Tag</title>
<para>To create the simplest variant of
<property>columnGroup</property> on a page which you can see at the
screenshot, use the following syntax:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:dataTable value="#{capitalsBean.capitals}"
var="capitals"
ajaxKeys="#{bean.ajaxSet}"
binding="#{bean.tabe}" id="table">
@@ -71,6 +75,10 @@
into one row. Columns are combined in a group the same way as when the <emphasis
><property>"breakBefore"</property></emphasis>
attribute is used for
columns to add a moving to the next rows, but the first variant is clearer from a
source code. Hence, the
following simple examples are very same.</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:dataTable value="#{capitalsBean.capitals}" var="cap"
rows="5" id="sublist">
<rich:column colspan="3">
@@ -92,6 +100,10 @@
...
]]></programlisting>
<para>And representation without a grouping:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:dataTable value="#{capitalsBean.capitals}" var="cap"
rows="5" id="sublist">
<rich:column colspan="3">
@@ -115,6 +127,10 @@
</figure>
<para>It's also possible to use the component for output of complex
headers in a table. For example adding
of a complex header to a facet for the whole table looks the following
way:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<f:facet name="header">
<rich:columnGroup>
Modified: trunk/docs/userguide/en/src/main/docbook/included/dataDefinitionList.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dataDefinitionList.xml 2007-07-09
12:32:01 UTC (rev 1543)
+++ trunk/docs/userguide/en/src/main/docbook/included/dataDefinitionList.xml 2007-07-09
13:12:04 UTC (rev 1544)
@@ -44,6 +44,10 @@
<section>
<title>Creating the Component with a Page Tag</title>
<para>To create the simplest variant of
<property>dataDefinitionList</property> on a page, use the following
syntax:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:dataDefinitionList value="#{bean.capitals}"
var="caps">
<f:facet name="term">United States Capitals</f:facet>
@@ -74,6 +78,10 @@
<para>It allows definition inside a facet with the "term" name
to add HTML DT elements into a list.</para>
<para>The component is created basing on the <emphasis
role="bold"><property><a4j:repeat></property></emphasis>
component and as a result the component could
be partially updated with AJAX.</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:dataDefinitionList value="#{bean.capitals}" var="caps"
ajaxKeys="#{listBean.list}"
binding="#{listBean.dataList}" id="list">
Modified: trunk/docs/userguide/en/src/main/docbook/included/dataFilterSlider.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dataFilterSlider.xml 2007-07-09
12:32:01 UTC (rev 1543)
+++ trunk/docs/userguide/en/src/main/docbook/included/dataFilterSlider.xml 2007-07-09
13:12:04 UTC (rev 1544)
@@ -38,6 +38,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:dataFilterSlider sliderListener="#{mybean.doSlide}"
startRange="0"
Modified: trunk/docs/userguide/en/src/main/docbook/included/dataGrid.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dataGrid.xml 2007-07-09 12:32:01 UTC
(rev 1543)
+++ trunk/docs/userguide/en/src/main/docbook/included/dataGrid.xml 2007-07-09 13:12:04 UTC
(rev 1544)
@@ -45,6 +45,10 @@
<section>
<title>Creating the Component with a Page Tag</title>
<para>To create the simplest variant of
<property>dataGrid</property> on a page, use the following
syntax:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:dataGrid value="#{bean.capitals}" var="caps"
columns="4">
<h:outputText value="#{caps.name}"/>
@@ -74,6 +78,10 @@
<para>The component is created basing on the <emphasis
role="bold"><property><a4j:repeat></property></emphasis>
component and as a result the component could
be partially updated with AJAX.</para>
<para>Here is an example for the first screenshot:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:dataGrid value="#{bean.capitals}" var="caps"
ajaxKeys="#{listBean.list}"
binding="#{listBean.dataList}" id="grid"
elements="20" columns="4">
Modified: trunk/docs/userguide/en/src/main/docbook/included/dataList.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dataList.xml 2007-07-09 12:32:01 UTC
(rev 1543)
+++ trunk/docs/userguide/en/src/main/docbook/included/dataList.xml 2007-07-09 13:12:04 UTC
(rev 1544)
@@ -46,6 +46,10 @@
<section>
<title>Creating the Component with a Page Tag</title>
<para>To create the simplest variant of
<property>dataList</property> on a page, use the following
syntax:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:dataList value="#{bean.capitals}" var="caps">
<h:outputText value="#{caps.name}"/>
@@ -74,6 +78,10 @@
<para>The component has the <emphasis
><property>"type"</property></emphasis> attribute
corresponding to the "ul" HTML element.</para>
<para>The component is created basing on the <emphasis
role="bold"><property><a4j:repeat></property></emphasis>
component and as a result the component could
be partially updated with AJAX.</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:dataList value="#{bean.capitals}" var="caps"
ajaxKeys="#{listBean.list}"
binding="#{listBean.dataList}" id="list">
Modified: trunk/docs/userguide/en/src/main/docbook/included/dataOrderedList.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dataOrderedList.xml 2007-07-09
12:32:01 UTC (rev 1543)
+++ trunk/docs/userguide/en/src/main/docbook/included/dataOrderedList.xml 2007-07-09
13:12:04 UTC (rev 1544)
@@ -45,6 +45,10 @@
<section>
<title>Creating the Component with a Page Tag</title>
<para>To create the simplest variant of
<property>dataOrderedList</property> on a page, use the following
syntax:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:dataOrderedList value="#{bean.capitals}" var="caps">
<h:outputText value="#{caps.name}"/>
@@ -73,6 +77,10 @@
<para>The component has the <emphasis
><property>"type"</property></emphasis> attribute
corresponding to the "ul" HTML element.</para>
<para>The component is created basing on the <emphasis
role="bold"><property><a4j:repeat></property></emphasis>
component and as a result the component could
be partially updated with AJAX.</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:dataOrderedList value="#{bean.capitals}" var="caps"
ajaxKeys="#{listBean.list}"
binding="#{listBean.dataList}" id="list">
Modified: trunk/docs/userguide/en/src/main/docbook/included/dataTable.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dataTable.xml 2007-07-09 12:32:01
UTC (rev 1543)
+++ trunk/docs/userguide/en/src/main/docbook/included/dataTable.xml 2007-07-09 13:12:04
UTC (rev 1544)
@@ -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:dataTable value="#{capitalsBean.capitals}"
var="capitals">
<!--...//Set of columns and header/footer facets-->
@@ -81,6 +85,10 @@
role="bold">
<property><a4j:repeat></property>
</emphasis> outputs the standard HTML structure for table
rendering.</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:dataTable value="#{capitalsBean.capitals}"
var="capitals"
ajaxKeys="#{bean.ajaxSet}" binding="#{bean.table}"
id="table">
Modified: trunk/docs/userguide/en/src/main/docbook/included/dragIndicator.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dragIndicator.xml 2007-07-09
12:32:01 UTC (rev 1543)
+++ trunk/docs/userguide/en/src/main/docbook/included/dragIndicator.xml 2007-07-09
13:12:04 UTC (rev 1544)
@@ -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[...
<dnd:dragIndicator id="indicator">
<f:facet name="single">
@@ -106,6 +110,10 @@
<listitem> not above any drop zone </listitem>
</itemizedlist>
<para>Here is an example for an accept facet:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<f:dndParam name="accept">
<h:graphicImage value="./images/1.gif"/>
@@ -119,6 +127,10 @@
<emphasis>
<property>"typeMapping"</property>
</emphasis> attribute for the corresponding icons.</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:dropSupport acceptedTypes="[iconsDragged, textDragged]"
typeMapping="{iconsDragged: DropIcon}">
<dnd:dndParam name="DropIcon">
Modified: trunk/docs/userguide/en/src/main/docbook/included/dragIndicator1.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dragIndicator1.xml 2007-07-09
12:32:01 UTC (rev 1543)
+++ trunk/docs/userguide/en/src/main/docbook/included/dragIndicator1.xml 2007-07-09
13:12:04 UTC (rev 1544)
@@ -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[...
<dnd:dragIndicator id="indicator">
<f:facet name="single">
@@ -118,6 +122,10 @@
particular drag area, use the <property>drop zone</property>
<emphasis
><property>"typeMapping"</property></emphasis>
attribute for the
corresponding icons.</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[<rich:dropSupport
acceptedTypes="[iconsDragged, textDragged]"
typeMapping="{iconsDragged: DropIcon}">
Modified: trunk/docs/userguide/en/src/main/docbook/included/inputNumberSlider.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/inputNumberSlider.xml 2007-07-09
12:32:01 UTC (rev 1543)
+++ trunk/docs/userguide/en/src/main/docbook/included/inputNumberSlider.xml 2007-07-09
13:12:04 UTC (rev 1544)
@@ -91,6 +91,10 @@
<para>To remove input area use <emphasis>
<property>"showInput="false"</property>
</emphasis>:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[<rich:inputNumberSlider
minValue="1" maxValue="100"
showInput="false"/>]]></programlisting>
<para>It looks at page like:</para>
<figure>
@@ -230,6 +234,10 @@
<emphasis role="bold">Example:</emphasis>
</para>
<para>CSS code piece used on the page:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="HTML"><![CDATA[...
.rich-slider-handle{
border:2px solid;
@@ -240,6 +248,10 @@
...
]]></programlisting>
<para>The component is defined in the following way:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[<rich:inputNumberSlider ...
inputClass="myClass" .../>
]]></programlisting>
<para>Hence, header border width of all
<property>sliders</property> is redefined on a page as
Modified: trunk/docs/userguide/en/src/main/docbook/included/inputNumberSpinner.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/inputNumberSpinner.xml 2007-07-09
12:32:01 UTC (rev 1543)
+++ trunk/docs/userguide/en/src/main/docbook/included/inputNumberSpinner.xml 2007-07-09
13:12:04 UTC (rev 1544)
@@ -237,6 +237,10 @@
<emphasis role="bold">Example:</emphasis>
</para>
<para>CSS code piece used on the page:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
. rich-spinner-input {
font-style:italic;
@@ -247,6 +251,10 @@
...
]]></programlisting>
<para>The component is defined in the following way:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[<rich:inputNumberSpinner
inputClass="myClass" .../>
]]></programlisting>
<para>Hence, a font-style of all <property>spinners</property> is
redefined on a page as well as
Modified: trunk/docs/userguide/en/src/main/docbook/included/menuGroup.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/menuGroup.xml 2007-07-09 12:32:01
UTC (rev 1543)
+++ trunk/docs/userguide/en/src/main/docbook/included/menuGroup.xml 2007-07-09 13:12:04
UTC (rev 1544)
@@ -43,6 +43,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:dropDownMenu value="Active">
...
Modified: trunk/docs/userguide/en/src/main/docbook/included/menuItem.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/menuItem.xml 2007-07-09 12:32:01 UTC
(rev 1543)
+++ trunk/docs/userguide/en/src/main/docbook/included/menuItem.xml 2007-07-09 13:12:04 UTC
(rev 1544)
@@ -43,6 +43,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:dropDownMenu>
...
Modified: trunk/docs/userguide/en/src/main/docbook/included/menuSeparator.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/menuSeparator.xml 2007-07-09
12:32:01 UTC (rev 1543)
+++ trunk/docs/userguide/en/src/main/docbook/included/menuSeparator.xml 2007-07-09
13:12:04 UTC (rev 1544)
@@ -43,6 +43,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:dropDownMenu/>
...
Modified: trunk/docs/userguide/en/src/main/docbook/included/paint2D.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/paint2D.xml 2007-07-09 12:32:01 UTC
(rev 1543)
+++ trunk/docs/userguide/en/src/main/docbook/included/paint2D.xml 2007-07-09 13:12:04 UTC
(rev 1544)
@@ -104,6 +104,10 @@
<property>"data"</property>
</emphasis> attributes.</para>
<para>Example:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="JAVA"><![CDATA[paintBean.java:
public void paint(Graphics2D g2, Object obj) {
Modified: trunk/docs/userguide/en/src/main/docbook/included/panel.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panel.xml 2007-07-09 12:32:01 UTC
(rev 1543)
+++ trunk/docs/userguide/en/src/main/docbook/included/panel.xml 2007-07-09 13:12:04 UTC
(rev 1544)
@@ -284,6 +284,10 @@
<emphasis role="bold">Example:</emphasis>
</para>
<para>CSS code piece used on the page:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
.rich-panel-header{
background-color:#F99;
Modified: trunk/docs/userguide/en/src/main/docbook/included/panelBar.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panelBar.xml 2007-07-09 12:32:01 UTC
(rev 1543)
+++ trunk/docs/userguide/en/src/main/docbook/included/panelBar.xml 2007-07-09 13:12:04 UTC
(rev 1544)
@@ -162,6 +162,10 @@
<emphasis role="bold">Example:</emphasis>
</para>
<para>CSS code piece used on the page:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="HTML"><![CDATA[...
. rich-panelbar{
padding:10px;
@@ -173,6 +177,10 @@
]]></programlisting>
<para>When using headerClass and headerClassActive attributes the
declaration of headerClass
should precede the one of headerClassActive:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="HTML"><![CDATA[...
.headerClass{
...
Modified: trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml 2007-07-09 12:32:01
UTC (rev 1543)
+++ trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml 2007-07-09 13:12:04
UTC (rev 1544)
@@ -194,6 +194,10 @@
</table>
<para><emphasis
role="bold">Example:</emphasis></para>
<para>CSS code piece used on the page:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
.rich-panelbar-header{
font-size:14px;
@@ -204,6 +208,10 @@
...
]]></programlisting>
<para>The component is defined in the following way:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:panelBar>
<rich:panelBarItem contentClass="myClass">
Modified: trunk/docs/userguide/en/src/main/docbook/included/separator.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/separator.xml 2007-07-09 12:32:01
UTC (rev 1543)
+++ trunk/docs/userguide/en/src/main/docbook/included/separator.xml 2007-07-09 13:12:04
UTC (rev 1544)
@@ -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:separator/>
...
Modified: trunk/docs/userguide/en/src/main/docbook/included/spacer.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/spacer.xml 2007-07-09 12:32:01 UTC
(rev 1543)
+++ trunk/docs/userguide/en/src/main/docbook/included/spacer.xml 2007-07-09 13:12:04 UTC
(rev 1544)
@@ -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:spacer/>
...]]></programlisting>
Modified: trunk/docs/userguide/en/src/main/docbook/included/subTable.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/subTable.xml 2007-07-09 12:32:01 UTC
(rev 1543)
+++ trunk/docs/userguide/en/src/main/docbook/included/subTable.xml 2007-07-09 13:12:04 UTC
(rev 1544)
@@ -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:dataTable value="#{capitalsBean.capitals}"
var="capitals">
<!--...//Set of columns and header/footer facets-->
Modified: trunk/docs/userguide/en/src/main/docbook/included/suggestionBox.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/suggestionBox.xml 2007-07-09
12:32:01 UTC (rev 1543)
+++ trunk/docs/userguide/en/src/main/docbook/included/suggestionBox.xml 2007-07-09
13:12:04 UTC (rev 1544)
@@ -58,6 +58,10 @@
<para>Here is the <emphasis>
<property>bean.autocomplete</property>
</emphasis> method that returns the collection to pop up:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="JAVA"><![CDATA[public List
autocomplete(Object event) {
String pref = event.toString();
//collecting some data that begins with "pref" letters.
Modified: trunk/docs/userguide/en/src/main/docbook/included/tab.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/tab.xml 2007-07-09 12:32:01 UTC (rev
1543)
+++ trunk/docs/userguide/en/src/main/docbook/included/tab.xml 2007-07-09 13:12:04 UTC (rev
1544)
@@ -66,6 +66,10 @@
<title>Details of Usage</title>
<para>The main component function is to define a content group that is rendered
and processed when the <property>tab</property> is active, i.e. click on a
<property>tab</property> causes switching onto a
<property>tab</property> containing content corresponded to this
<property>tab</property>.</para>
<para>A marker on a <property>tab</property> header defined with the
<emphasis
><property>"label"</property></emphasis> attribute.
Moreover, each <property>tab</property> could be disabled (switching on this
<property>tab</property> is impossible) with the <emphasis
><property>"disable"</property></emphasis>
attribute.</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:tabPanel width="20%">
<rich:tab label="Tab">
Modified: trunk/docs/userguide/en/src/main/docbook/included/togglePanel.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/togglePanel.xml 2007-07-09 12:32:01
UTC (rev 1543)
+++ trunk/docs/userguide/en/src/main/docbook/included/togglePanel.xml 2007-07-09 13:12:04
UTC (rev 1544)
@@ -106,6 +106,10 @@
<property>"stateOrder"</property>
</emphasis> attribute. The facets names are enumerated in such an order that
they are rendered
when a control is clicked, as it's not defined where to switch
beforehand.</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:togglePanel id="panel" initialState="panelB"
switchType="client"
stateOrder="panelA,panelB,panelC">
Modified: trunk/docs/userguide/en/src/main/docbook/included/tree.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/tree.xml 2007-07-09 12:32:01 UTC
(rev 1543)
+++ trunk/docs/userguide/en/src/main/docbook/included/tree.xml 2007-07-09 13:12:04 UTC
(rev 1544)
@@ -79,6 +79,10 @@
</emphasis> attribute that contains treeNode name for elements rendering.
</para>
<para>On the screenshot there are examples of nodes defined with different
templates on the
following conditions</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="JAVA"><![CDATA[nodeFace="#{data.name !=
'param-value' ? 'input' : 'text'}"
]]></programlisting>
<figure>
Modified: trunk/docs/userguide/en/src/main/docbook/included/treeNode.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/treeNode.xml 2007-07-09 12:32:01 UTC
(rev 1543)
+++ trunk/docs/userguide/en/src/main/docbook/included/treeNode.xml 2007-07-09 13:12:04 UTC
(rev 1544)
@@ -99,6 +99,10 @@
<para>As it has been mentioned above, <property>treeNode</property>
defines a template for nodes
rendering in a tree. Thus, during XML document rendering (a web.xml application) as
a tree, the
following nodes output (passed via var="data" on a tree)
happens:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:tree ... faceNode="simpleNode" ... value="#{bean.data}"
var="data">
<rich:treeNode type="simpleNode">