DWZ分页选择一页显示多少时,直接就跳转到首页去了,怎么解决
1个回答
推荐于2016-10-15
展开全部
<form id="pagerForm" method="post" action="${ctx}/subjectInfor/subjectInfors">
<input type="hidden" name="pageNum" value=${page.getPageNo()} />
<input type="hidden" name="numPerPage" value=${page.getPageSize()} />
</form>
<div class="panelBar">
<div class="pages">
<span>显示</span>
<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
<option value="20" <#if numPerPage == 20> selected</#if>>20 </option>
<option value="50" <#if numPerPage == 50> selected</#if>>50 </option>
<option value="100" <#if numPerPage == 100> selected</#if>>100 </option>
<option value="200" <#if numPerPage == 200> selected</#if>>200 </option>
</select>
<span>条,共${page.getTotalCount()}条</span>
</div>
<div class="pagination" totalCount=${page.getTotalCount()} numPerPage=${page.getPageSize()} pageNumShown="10" currentPage=${page.getPageNo()}></div>
</div>
<input type="hidden" name="pageNum" value=${page.getPageNo()} />
<input type="hidden" name="numPerPage" value=${page.getPageSize()} />
</form>
<div class="panelBar">
<div class="pages">
<span>显示</span>
<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
<option value="20" <#if numPerPage == 20> selected</#if>>20 </option>
<option value="50" <#if numPerPage == 50> selected</#if>>50 </option>
<option value="100" <#if numPerPage == 100> selected</#if>>100 </option>
<option value="200" <#if numPerPage == 200> selected</#if>>200 </option>
</select>
<span>条,共${page.getTotalCount()}条</span>
</div>
<div class="pagination" totalCount=${page.getTotalCount()} numPerPage=${page.getPageSize()} pageNumShown="10" currentPage=${page.getPageNo()}></div>
</div>
本回答被提问者和网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询