org.hdpagination.web.taglib
Class DisplayTotalPagesTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.hdpagination.web.taglib.AbstractDisplayTag
          extended by org.hdpagination.web.taglib.DisplayTotalPagesTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class DisplayTotalPagesTag
extends AbstractDisplayTag

This JSP Tag is used to display the count of pages - that is, how many pages of records in the search results.

Since:
1.0
Author:
Liangfeng Ren
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
DisplayTotalPagesTag()
           
 
Method Summary
 java.lang.String getContent2Display(Page page)
          Generate content to diplay in the page
 
Methods inherited from class org.hdpagination.web.taglib.AbstractDisplayTag
doEndTag, doStartTag, getActionId, setActionId
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisplayTotalPagesTag

public DisplayTotalPagesTag()
Method Detail

getContent2Display

public java.lang.String getContent2Display(Page page)
Description copied from class: AbstractDisplayTag
Generate content to diplay in the page

Parameters:
page - Page instance containing pagination related information.
Returns:
content to display


Copyright © 2008 HDPagination All Rights Reserved.