Author: abelevich
Date: 2007-10-25 08:48:02 -0400 (Thu, 25 Oct 2007)
New Revision: 3528
Modified:
trunk/ui/datascroller/src/main/templates/org/richfaces/htmlDatascroller.jspx
Log:
set up pageIndexVar value not only then pages facet exist (RF-1244)
Modified: trunk/ui/datascroller/src/main/templates/org/richfaces/htmlDatascroller.jspx
===================================================================
---
trunk/ui/datascroller/src/main/templates/org/richfaces/htmlDatascroller.jspx 2007-10-25
12:43:45 UTC (rev 3527)
+++
trunk/ui/datascroller/src/main/templates/org/richfaces/htmlDatascroller.jspx 2007-10-25
12:48:02 UTC (rev 3528)
@@ -185,9 +185,9 @@
]]></jsp:scriptlet>
<jsp:scriptlet><![CDATA[
+ renderPages(context,component,dataTable);
UIComponent pagesFacet = component.getFacet("pages");
if (pagesFacet !=null && pagesFacet.isRendered()) {
- renderPages(context,component,dataTable);
]]></jsp:scriptlet>
<td>
<jsp:scriptlet><![CDATA[