Renames pz2 response object in pager too
authorNiels Erik G. Nielsen <nielserik@indexdata.com>
Sun, 14 Apr 2013 13:48:05 +0000 (09:48 -0400)
committerNiels Erik G. Nielsen <nielserik@indexdata.com>
Sun, 14 Apr 2013 13:48:05 +0000 (09:48 -0400)
src/META-INF/resources/pz2widgets/pager.xhtml

index 013b60e..a8fd9e0 100644 (file)
@@ -24,7 +24,7 @@
   \r
   <composite:implementation>\r
 \r
-    <h:panelGrid columns="1" width="100%" rendered="#{data.hasRecords()}"><h:panelGroup>\r
+    <h:panelGrid columns="1" width="100%" rendered="#{pzresp.hasRecords()}"><h:panelGroup>\r
       <h:outputText id="instantiatePager" value="#{pz2.setPager(cc.attrs.visiblePageRange)}" style="display: none;" />\r
                  \r
       <h:commandLink value="#{cc.attrs.prevLabel}" \r