Author: smukhina
Date: 2007-07-09 09:37:58 -0400 (Mon, 09 Jul 2007)
New Revision: 1546
Modified:
trunk/docs/userguide/en/src/main/docbook/modules/RFCfaq.xml
Log:
http://jira.jboss.com/jira/browse/RF-430
Modified: trunk/docs/userguide/en/src/main/docbook/modules/RFCfaq.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/modules/RFCfaq.xml 2007-07-09 13:22:27 UTC
(rev 1545)
+++ trunk/docs/userguide/en/src/main/docbook/modules/RFCfaq.xml 2007-07-09 13:37:58 UTC
(rev 1546)
@@ -119,6 +119,10 @@
<a4j:include></emphasis> inside the <emphasis
role="bold"><rich:modalPanel></emphasis> and perform
navigation inside it, as it's shown in the example
below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<f:verbatim>
<a
href="javascript:Richfaces.showModalPanel('_panel',{left:'auto',
top:'auto'})">Show Modal Panel</a>
@@ -233,6 +237,10 @@
</itemizedlist>
<para>The controls of fast switching are created adding the facets
component with
the corresponding name:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[ ...
<rich:datascroller for="table" maxPages="10">
<f:facet name="first">
@@ -256,6 +264,10 @@
<title>How to place a simple links inside menu?</title>
<para>If you want to navigate outside, when application uses an
external URL, you
should use the following approach:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:dropDownMenu>
…
@@ -297,6 +309,10 @@
<?dbhtml filename="Howtoaddalinktothetreenode"?>
<title>How to add a simple link to the tree node?</title>
<para>Simple code is placed below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:tree …>
…
@@ -324,6 +340,10 @@
<?dbhtml filename="HowtogetaacommandButton"?>
<title>How to get a commandButton working within the
modalPanel?</title>
<para>Simple code is placed below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:modalPanel>
<f:facet name="header">
@@ -344,6 +364,10 @@
<?dbhtml filename="Howtoremembercurrentselectedtab"?>
<title>How to define the currently selected tab?</title>
<para> Simple code is placed below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:tabPanel selectedTab="t2">
<rich:tab label="tab 1" name="t1">
@@ -365,6 +389,10 @@
<title>How to retrieve the current value from the
inputNumberSlider?</title>
<para>To catch the value of the inputNumberSlider from the
JavaScrip, use the
following approach:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<rich:inputNumberSlider width="500" step="20"
onchange="someFunctionCall(this.input.value)"
@@ -406,6 +434,10 @@
<title>Is it possible to use datascroller without its table border
and styles (to
show only links)?</title>
<para> It' necessary to redefine rich* classes for example
like this:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting
role="JAVA"><![CDATA[.rich-datascr-button {
border: 0px;
}