|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.smartlab.web.page.AbstractTag net.smartlab.web.page.PaginateTag
public class PaginateTag
TODO documentation
Field Summary | |
---|---|
static java.lang.String |
PARAMETER
TODO documentation Comment for PARAMETER |
Fields inherited from class net.smartlab.web.page.AbstractTag |
---|
context |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
---|---|
PaginateTag()
|
Method Summary | |
---|---|
int |
doStartTag()
|
protected java.lang.String |
getHref()
Returns the href part to create an anchor. |
protected Paginator |
getPaginator()
TODO documentation |
protected boolean |
isForm()
Checks if the pagination involves a form. |
void |
setFilter(boolean filter)
Requires HTML compliance on href query part. |
void |
setForm(java.lang.String form)
Sets the name of form to use to vehicle pagination informations. |
void |
setHref(java.lang.String href)
Sets the url where pagination actions are submitted: leave blank or not specified to use the same page. |
void |
setName(java.lang.String name)
Sets the name of the attribute containing the paginator instance. |
void |
setPages(int pages)
Sets the maximum number of pages displayed in a row. |
void |
setProperty(java.lang.String property)
Sets the name of the attribute property containing the paginator instance. |
void |
setSize(int size)
Sets the number of items per page. |
Methods inherited from class net.smartlab.web.page.AbstractTag |
---|
doEndTag, getParent, release, setPageContext, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PARAMETER
PARAMETER
Constructor Detail |
---|
public PaginateTag()
Method Detail |
---|
public int doStartTag() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
Tag.doStartTag()
public void setName(java.lang.String name)
name
- the name of the attribute containing the paginator instance.public void setProperty(java.lang.String property)
property
- the name of the attribute property containing the
paginator instanceprotected java.lang.String getHref()
public void setHref(java.lang.String href)
href
- public void setForm(java.lang.String form)
form
- public void setSize(int size)
size
- public void setPages(int pages)
pages
- protected Paginator getPaginator()
AbstractTag
getPaginator
in class AbstractTag
AbstractTag.getPaginator()
protected boolean isForm()
true
if the pagination involves a form,
false
otherwise.public void setFilter(boolean filter)
filter
- true
if HTML compliance on href query part is
required.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |