Author: nbelaevski
Date: 2009-05-06 18:42:44 -0400 (Wed, 06 May 2009)
New Revision: 14048
Modified:
trunk/ui/datascroller/src/main/templates/org/richfaces/htmlDatascroller.jspx
Log:
https://jira.jboss.org/jira/browse/RF-7033
Modified: trunk/ui/datascroller/src/main/templates/org/richfaces/htmlDatascroller.jspx
===================================================================
---
trunk/ui/datascroller/src/main/templates/org/richfaces/htmlDatascroller.jspx 2009-05-06
22:36:39 UTC (rev 14047)
+++
trunk/ui/datascroller/src/main/templates/org/richfaces/htmlDatascroller.jspx 2009-05-06
22:42:44 UTC (rev 14048)
@@ -34,8 +34,6 @@
int pageCount = component.getPageCount();
int pageIndex = component.getPage();
- renderPages(context, component, pageIndex, pageCount);
-
org.richfaces.renderkit.html.ControlsState controlsState =
getControlsState(context, component, pageIndex, pageCount);
boolean singlePageRender = true;
@@ -62,6 +60,7 @@
<jsp:scriptlet>
<![CDATA[
if (singlePageRender) {
+ renderPages(context, component, pageIndex, pageCount);
]]>
</jsp:scriptlet>