                              id="tbl" 
                                rowIndexVar="ii" 
                                value="#{reportsStock.pharmacyStockRows}" var="i"  
                                rendered="#{reportsStock.pharmacyStockRows.size() ne 0 }"
                                rows="#{reportsStock.paginator?'20':reportsStock.pharmacyStockRows.size()}"
                                paginator="#{reportsStock.paginator}"
                                paginatorTemplate="{CurrentPageReport}