如果同一个页面有多个分页标签NavTab和dialog(弹出窗口)的问题可以采用同样的办法解决。解决办法如下:
NavTab上的处理办法
表单1
<div id="table1">
<form>
<table> 内容</table>
</form>
<!-- 分页条 -->
<div class="panelBar">
<div class="pages">
<a><span>总记录数:
${totalCount}条,每页:${numPerPage}条,当前是:${pageNum}页</span> </a>
</div>
<div class="pagination" pageQueryParams="${pageQueryParams }" rel="table1" target="navTab" totalCount="${totalCount}" numPerPage="${numPerPage}" pageNumShown="10" currentPage="${param.pageNum}"></div>
</div>
<!-- 分页条 -->
</div>
表单2
<div id="table2">
<form>
<table> 内容</table>
</form>
<!-- 分页条 -->
<div class="panelBar">
<div class="pages">
<a><span>总记录数:
${totalCount}条,每页:${numPerPage}条,当前是:${pageNum}页</span> </a>
</div>
<div class="pagination" pageQueryParams="${pageQueryParams }" rel="table2" target="navTab" totalCount="${totalCount}" numPerPage="${numPerPage}" pageNumShown="10" currentPage="${param.pageNum}"></div>
</div>
<!-- 分页条 -->
</div>
Dialog上的处理办法
表单3
<div id="table3">
<form>
<table> 内容</table>
</form>
<!-- 分页条 -->
<div class="panelBar">
<div class="pages">
<a><span>总记录数:
${totalCount}条,每页:${numPerPage}条,当前是:${pageNum}页</span> </a>
</div>
<div class="pagination" pageQueryParams="${pageQueryParams }" rel="table3" target="dialog" totalCount="${totalCount}" numPerPage="${numPerPage}" pageNumShown="10" currentPage="${param.pageNum}"></div>
</div>
<!-- 分页条 -->
</div>
表单4
<div id="table4">
<form>
<table> 内容</table>
</form>
<!-- 分页条 -->
<div class="panelBar">
<div class="pages">
<a><span>总记录数:
${totalCount}条,每页:${numPerPage}条,当前是:${pageNum}页</span> </a>
</div>
<div class="pagination" pageQueryParams="${pageQueryParams }" rel="table4" target="navTab" totalCount="${totalCount}" numPerPage="${numPerPage}" pageNumShown="10" currentPage="${param.pageNum}"></div>
</div>
<!-- 分页条 -->
</div>
国产Dwz 同一个页面多个分页标签分页失效或者分页混乱的问题解决办法
最新推荐文章于 2018-07-10 09:03:57 发布