Author: nbelaevski
Date: 2009-05-06 18:36:39 -0400 (Wed, 06 May 2009)
New Revision: 14047
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:27:34 UTC (rev 14046)
+++
trunk/ui/datascroller/src/main/templates/org/richfaces/htmlDatascroller.jspx 2009-05-06
22:36:39 UTC (rev 14047)
@@ -34,6 +34,8 @@
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;
@@ -200,7 +202,6 @@
]]></jsp:scriptlet>
<jsp:scriptlet><![CDATA[
- renderPages(context, component, pageIndex, pageCount);
UIComponent pagesFacet = component.getFacet("pages");
if (pagesFacet !=null && pagesFacet.isRendered()) {
]]></jsp:scriptlet>