org.hdpagination.web.taglib
Class DisplayCurrentPageNoTag

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

public class DisplayCurrentPageNoTag
extends AbstractDisplayTag

This JSP Tag is used to display the current page number (or called index of the current page). The index starts from 1 - that is, it displays 1 for the first page.

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
DisplayCurrentPageNoTag()
           
 
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

DisplayCurrentPageNoTag

public DisplayCurrentPageNoTag()
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.