|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
org.hdpagination.web.taglib.AbstractPaginationControlTag
public abstract class AbstractPaginationControlTag
Abstract base class for all tags of different types of "Pagination Control" (PaginationLinkTag,
PagesDropdownTag and GoToPageTag).
The types of pagination control include navigation links (e.g. Previous, Next, First, Last),
page links (e.g. 1 2 3 4 5 6 7 8), available pages dropdown or goto page text field.
| Field Summary | |
|---|---|
protected java.lang.String |
actionId
Bean identifier of the corresponding PaginationAction instance declared in Spring application context. |
protected java.lang.String |
resendParams
used to indicate whether the parameters of the previous http request should be sent again. |
| 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 | |
|---|---|
AbstractPaginationControlTag()
|
|
| Method Summary | |
|---|---|
int |
doEndTag()
processing of the end tag |
protected abstract java.lang.String |
generateHTML(Page page)
Generate HTML code of Pagination Control |
void |
setActionId(java.lang.String actionId)
Bean identifier of the corresponding PaginationAction instance declared in Spring application context. |
void |
setResendParams(java.lang.String resendParams)
This property is used to indicate whether the parameters of the previous http request should be sent again. |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
doAfterBody, doStartTag, 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 |
| Field Detail |
|---|
protected java.lang.String actionId
Page from
HttpServletSession, which contains all pagination related information
(e.g. current page no, total records).
protected java.lang.String resendParams
| Constructor Detail |
|---|
public AbstractPaginationControlTag()
| Method Detail |
|---|
public void setActionId(java.lang.String actionId)
actionId - public void setResendParams(java.lang.String resendParams)
The types of pagination control include:
1) pagination navigation links (e.g. Previous Next 1 2 3 4 5 6 7 8 First Last), rendered by <pageLinks> tag
2) available pages dropdown, rendered by <pagesDropdown> tag
3) goto page text field and submit button, rendered by <gotoPage> tag
4) sort hyperlink, rendered by <sortBy> tag
5) select sort dropdown, rendered by <selectSortBy> tag
resendParams -
public int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspExceptionprotected abstract java.lang.String generateHTML(Page page)
page - page Page instance containing pagination related information.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||