Author: artdaw
Date: 2008-06-15 13:19:38 -0400 (Sun, 15 Jun 2008)
New Revision: 9046
Modified:
trunk/docs/userguide/en/src/main/docbook/included/datascroller.xml
Log:
http://jira.jboss.com/jira/browse/RF-3700 - code example for "page" attribute
was changed
Modified: trunk/docs/userguide/en/src/main/docbook/included/datascroller.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/datascroller.xml 2008-06-15 17:06:59
UTC (rev 9045)
+++ trunk/docs/userguide/en/src/main/docbook/included/datascroller.xml 2008-06-15 17:19:38
UTC (rev 9046)
@@ -193,8 +193,7 @@
<h:outputText value="#{category.price}" />
</h:column>
</rich:dataTable>
- <rich:datascroller id="sc2" for="carList"
reRender="sc1" maxPages="7"
- page="#{dataTableScrollerBean.scrollerPage}" />
+ <rich:datascroller id="sc2" for="carList"
reRender="sc1" maxPages="7"
page="#{dataTableScrollerBean.scrollerPage}" />
<h:panelGrid>
<h:panelGroup>
<h:outputText value="Set current page number: " />
@@ -209,8 +208,8 @@
<para>
In the example above you can enter the page number you want and set it by clicking
on the <emphasis
role="bold"><property><h:commandButton></property></emphasis>.
By the way,
- current page number in the input field changes
- if you use <emphasis
role="bold"><property><rich:datascroller></property></emphasis>
page links.
+ if you use <emphasis
role="bold"><property><rich:datascroller></property></emphasis>
page links
+ the input field rerenders and current page number changes.
</para>
<para>
This is a result:
@@ -236,7 +235,7 @@
<para>
The
<emphasis><property>"pageIndexVar"</property></emphasis>
and
<emphasis><property>"pagesVar"</property></emphasis>
attributes
- defines a request scope variables and provide an ability to show the current page
+ define a request scope variables and provide an ability to show the current page
and the number of pages in the
<emphasis
role="bold"><property><rich:datascroller></property></emphasis>.
</para>