|
|||||||||
| 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.AbstractDisplayTag
org.hdpagination.web.taglib.DisplayRecordScopeTag
public class DisplayRecordScopeTag
This JSP tag is used to display the scope of current page records - that is, index (starting from 1) of the first and last records in the current page. For example, if the page size is defined to 10, then it will display "11 - 20" for the second page if there are more than (including) 20 records totally in the search result.
| 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 | |
|---|---|
DisplayRecordScopeTag()
|
|
| 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 |
|---|
public DisplayRecordScopeTag()
| Method Detail |
|---|
public java.lang.String getContent2Display(Page page)
AbstractDisplayTag
page - Page instance containing pagination related information.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||