|
||||||||||
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.PageTag net.smartlab.web.page.PrevTag
public class PrevTag
Outputs its body only if the current page is not the first one.
Field Summary |
---|
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 | |
---|---|
PrevTag()
|
Method Summary | |
---|---|
int |
doStartTag()
|
int |
getPage()
Returns the page to wich the enclosed LinkTag is directed. |
Methods inherited from class net.smartlab.web.page.AbstractTag |
---|
doEndTag, getPaginator, getParent, release, setPageContext, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PrevTag()
Method Detail |
---|
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class PageTag
javax.servlet.jsp.JspException
Tag.doStartTag()
public int getPage()
LinkableTag
LinkTag
is directed.
getPage
in interface LinkableTag
getPage
in class PageTag
LinkableTag.getPage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |