com.jalios.jcms.taglib
Class PagerTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by com.jalios.jcms.taglib.PagerTag
All Implemented Interfaces:
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

Version:
$Revision: 27753 $
Author:
Olivier Dedieu , Olivier Jaquemet
See Also:
Serialized Form

Field Summary
static String REVISION
           
 
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
PagerTag()
           
 
Method Summary
 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(String action)
           
 void setDeclare(boolean declare)
           
 void setLinkCss(String linkCss)
           
 void setName(String name)
           
 void setPagerAllLimit(int pagerAllLimit)
           
 void setPagesDisplayed(String pagesDisplayed)
           
 void setPageSize(int pageSize)
           
 void setPageSizes(String pageSizes)
           
 void setParameterMap(Map<String,String> parameterMap)
           
 void setParamPrefix(String paramPrefix)
           
 void setResourcePath(String resourcePath)
           
 void setReverse(boolean reverse)
           
 void setShowFirstLink(boolean showFirstLink)
           
 void setShowLastLink(boolean showLastLink)
           
 void setSize(int size)
           
 void setSort(String sort)
           
 void setSortTitle(String sortTitle)
           
 void setTemplate(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)
           
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, 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
 

Field Detail

REVISION

public static final String REVISION
See Also:
Constant Field Values
Constructor Detail

PagerTag

public PagerTag()
Method Detail

setName

public void setName(String name)

setDeclare

public void setDeclare(boolean declare)

setAction

public void setAction(String action)

setParamPrefix

public void setParamPrefix(String paramPrefix)

setSize

public void setSize(int size)

setPageSize

public void setPageSize(int pageSize)

setSort

public void setSort(String sort)

setSortTitle

public void setSortTitle(String sortTitle)

setReverse

public void setReverse(boolean reverse)

setPageSizes

public void setPageSizes(String pageSizes)

setPagerAllLimit

public void setPagerAllLimit(int pagerAllLimit)

setParameterMap

public void setParameterMap(Map<String,String> parameterMap)

setPagesDisplayed

public void setPagesDisplayed(String pagesDisplayed)

setShowFirstLink

public void setShowFirstLink(boolean showFirstLink)

setShowLastLink

public void setShowLastLink(boolean showLastLink)

setResourcePath

public void setResourcePath(String resourcePath)

setTemplate

public void setTemplate(String templateName)

setLinkCss

public void setLinkCss(String linkCss)

init

public void init(javax.servlet.http.HttpServletRequest request,
                 javax.servlet.http.HttpServletResponse response,
                 javax.servlet.jsp.JspWriter out)
          throws IOException
Throws:
IOException

compute

public void compute(javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response,
                    javax.servlet.jsp.JspWriter out)
             throws IOException
Throws:
IOException

showAll

public void showAll(javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response,
                    javax.servlet.jsp.JspWriter out)
             throws IOException
Throws:
IOException

showFirst

public void showFirst(javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse response,
                      javax.servlet.jsp.JspWriter out)
               throws IOException
Throws:
IOException

showPrevious

public void showPrevious(javax.servlet.http.HttpServletRequest request,
                         javax.servlet.http.HttpServletResponse response,
                         javax.servlet.jsp.JspWriter out)
                  throws IOException
Throws:
IOException

showPages

public void showPages(javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse response,
                      javax.servlet.jsp.JspWriter out)
               throws IOException
Throws:
IOException

showNext

public void showNext(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response,
                     javax.servlet.jsp.JspWriter out)
              throws IOException
Throws:
IOException

showLast

public void showLast(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response,
                     javax.servlet.jsp.JspWriter out)
              throws IOException
Throws:
IOException

showSort

public void showSort(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response,
                     javax.servlet.jsp.JspWriter out)
              throws IOException
Throws:
IOException

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
Throws:
javax.servlet.jsp.JspException


Copyright © 2001-2010 Jalios SA. All Rights Reserved.