|
|||||||||
| 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
org.hdpagination.web.taglib.PaginationLinkTag
public class PaginationLinkTag
This JSP Tag is used to render pagination navigation links (e.g. Previous Next 1 2 3 4 5 6 7 8 First Last).
Layout of the links is configurable via injecting different implementation instance of
PageLinksPattern interface
into GlobalConfig.
There are some pattern implementation classes available to choose in package org.hdpagination.config.pattern
| Field Summary |
|---|
| Fields inherited from class org.hdpagination.web.taglib.AbstractPaginationControlTag |
|---|
actionId, resendParams |
| 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 | |
|---|---|
PaginationLinkTag()
|
|
| Method Summary | |
|---|---|
protected java.lang.String |
generateHTML(Page page)
Generate HTML code of Pagination Control |
void |
setStyle(java.lang.String style)
Specifies an inline style for the rendered hyperlinks (<a>). |
void |
setStyleClass(java.lang.String styleClass)
Space-separated list of CSS style class(es) to be applied to the rendered hyperlinks (<a>). |
| Methods inherited from class org.hdpagination.web.taglib.AbstractPaginationControlTag |
|---|
doEndTag, setActionId, setResendParams |
| 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 |
| Constructor Detail |
|---|
public PaginationLinkTag()
| Method Detail |
|---|
public void setStyleClass(java.lang.String styleClass)
styleClass - public void setStyle(java.lang.String style)
style - protected java.lang.String generateHTML(Page page)
AbstractPaginationControlTag
generateHTML in class AbstractPaginationControlTagpage - page Page instance containing pagination related information.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||