[richfaces-svn-commits] JBoss Rich Faces SVN: r9046 - trunk/docs/userguide/en/src/main/docbook/included.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Sun Jun 15 13:19:38 EDT 2008


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>&lt;h:commandButton&gt;</property></emphasis>. By the way, 
-	 current page number in the input field changes 
-	 if you use <emphasis role="bold"><property>&lt;rich:datascroller&gt;</property></emphasis> page links.
+	 if you use <emphasis role="bold"><property>&lt;rich:datascroller&gt;</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>&quot;pageIndexVar&quot;</property></emphasis> 
 	    and <emphasis><property>&quot;pagesVar&quot;</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>&lt;rich:datascroller&gt;</property></emphasis>.
     </para>




More information about the richfaces-svn-commits mailing list