Author: msorokin
Date: 2008-02-26 12:27:52 -0500 (Tue, 26 Feb 2008)
New Revision: 6353
Modified:
trunk/docs/userguide/en/src/main/docbook/included/progressBar.xml
Log:
Parameters were added
http://jira.jboss.com/jira/browse/RF-1690
Modified: trunk/docs/userguide/en/src/main/docbook/included/progressBar.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/progressBar.xml 2008-02-26 17:09:22
UTC (rev 6352)
+++ trunk/docs/userguide/en/src/main/docbook/included/progressBar.xml 2008-02-26 17:27:52
UTC (rev 6353)
@@ -68,10 +68,7 @@
HtmlColumns myColumns = new progressBar();
...]]></programlisting>
</section>
-
-
<!-- Start Details of Usage-->
-
<section>
<title>Details of Usage</title>
<para>
@@ -127,7 +124,19 @@
. . .
</rich:progressBar>
...]]> </programlisting>
- <para>
+
+ <para> The
<emphasis><property>"parameters"</property></emphasis>attribute
allows to send some
+ dynamical data to the component which is displayed in the informational
part.
+ Parameters can be passed through
<emphasis><property>"parameters"</property></emphasis>
attribute, or from component control.</para>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="XML"><![CDATA[...
+<rich:progressBar ... progressVar="progress"
parameters="param1:'1'" >
+ <h:outputText="{param1} task #{progress} %"/>
+</rich:progressBar>
+...]]> </programlisting>
+ <para>
The component can also employ the following facets to display the
<property> "initial"</property> and <property>
"complete"</property> states of the process:
</para>
<para>
@@ -173,7 +182,7 @@
<!-- JavaScript API-->
<section>
<title>JavaScript API</title>
- <table>
+ <table>
<title>JavaScript API</title>
<tgroup cols="2">
<thead>