Package com.jalios.jcms.taglib
Class PagerTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- com.jalios.jcms.taglib.PagerTag
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
public class PagerTag extends javax.servlet.jsp.tagext.TagSupport
This tag prints a pager for- Author:
- Olivier Dedieu, Olivier Jaquemet
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PagerTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
compute(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.jsp.JspWriter out)
int
doStartTag()
void
init(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.jsp.JspWriter out)
void
setAction(java.lang.String action)
void
setDeclare(boolean declare)
void
setLinkCss(java.lang.String linkCss)
void
setName(java.lang.String name)
void
setPagerAllLimit(int pagerAllLimit)
void
setPagesDisplayed(java.lang.String pagesDisplayed)
void
setPageSize(int pageSize)
void
setPageSizes(java.lang.String pageSizes)
void
setParameterMap(java.util.Map<java.lang.String,java.lang.String> parameterMap)
void
setParamPrefix(java.lang.String paramPrefix)
void
setResourcePath(java.lang.String resourcePath)
void
setReverse(boolean reverse)
void
setShowFirstLink(boolean showFirstLink)
void
setShowLastLink(boolean showLastLink)
void
setSize(int size)
void
setSizeAccurate(boolean isSizeAccurate)
void
setSort(java.lang.String sort)
void
setSortTitle(java.lang.String sortTitle)
void
setTemplate(java.lang.String templateName)
void
showAll(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.jsp.JspWriter out)
void
showFirst(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.jsp.JspWriter out)
void
showLast(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.jsp.JspWriter out)
void
showNext(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.jsp.JspWriter out)
void
showPages(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.jsp.JspWriter out)
void
showPrevious(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.jsp.JspWriter out)
void
showSort(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.jsp.JspWriter out)
-
-
-
Method Detail
-
setName
public void setName(java.lang.String name)
-
setDeclare
public void setDeclare(boolean declare)
-
setAction
public void setAction(java.lang.String action)
-
setParamPrefix
public void setParamPrefix(java.lang.String paramPrefix)
-
setSize
public void setSize(int size)
-
setPageSize
public void setPageSize(int pageSize)
-
setSort
public void setSort(java.lang.String sort)
-
setSortTitle
public void setSortTitle(java.lang.String sortTitle)
-
setReverse
public void setReverse(boolean reverse)
-
setPageSizes
public void setPageSizes(java.lang.String pageSizes)
-
setPagerAllLimit
public void setPagerAllLimit(int pagerAllLimit)
-
setParameterMap
public void setParameterMap(java.util.Map<java.lang.String,java.lang.String> parameterMap)
-
setPagesDisplayed
public void setPagesDisplayed(java.lang.String pagesDisplayed)
-
setShowFirstLink
public void setShowFirstLink(boolean showFirstLink)
-
setShowLastLink
public void setShowLastLink(boolean showLastLink)
-
setSizeAccurate
public void setSizeAccurate(boolean isSizeAccurate)
-
setResourcePath
public void setResourcePath(java.lang.String resourcePath)
-
setTemplate
public void setTemplate(java.lang.String templateName)
-
setLinkCss
public void setLinkCss(java.lang.String linkCss)
-
init
public void init(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.jsp.JspWriter out) throws java.io.IOException
- Throws:
java.io.IOException
-
compute
public void compute(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.jsp.JspWriter out) throws java.io.IOException
- Throws:
java.io.IOException
-
showAll
public void showAll(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.jsp.JspWriter out) throws java.io.IOException
- Throws:
java.io.IOException
-
showFirst
public void showFirst(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.jsp.JspWriter out) throws java.io.IOException
- Throws:
java.io.IOException
-
showPrevious
public void showPrevious(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.jsp.JspWriter out) throws java.io.IOException
- Throws:
java.io.IOException
-
showPages
public void showPages(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.jsp.JspWriter out) throws java.io.IOException
- Throws:
java.io.IOException
-
showNext
public void showNext(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.jsp.JspWriter out) throws java.io.IOException
- Throws:
java.io.IOException
-
showLast
public void showLast(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.jsp.JspWriter out) throws java.io.IOException
- Throws:
java.io.IOException
-
showSort
public void showSort(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.jsp.JspWriter out) throws java.io.IOException
- Throws:
java.io.IOException
-
doStartTag
public int doStartTag() throws javax.servlet.jsp.JspException
- Specified by:
doStartTag
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in classjavax.servlet.jsp.tagext.TagSupport
- Throws:
javax.servlet.jsp.JspException
-
-