@Override
public void doTag() throws JspException, IOException
{
JspTag tag = SimpleTagSupport.findAncestorWithClass(this, PaginationTagSupport.class);
if(tag != null)
{
Page page = ((PaginationTagSupport) tag).getCurrent();
if(!page.getLeftGap() && !page.getRightGap())
{
// Print out a text marker which will replaced with the appropriate page number
// when the pagination data structure is processed
this.getJspContext().getOut().print(Pagination.PAGE_MARKER);
}
}
}
PageTagSupport.java 文件源码
java
阅读 36
收藏 0
点赞 0
评论 0
项目:Runway-SDK
作者:
评论列表
文章目录