org.mmbase.bridge.jsp.taglib.containers
Class QueryPreviousBatchesTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.mmbase.bridge.jsp.taglib.ContextReferrerTag
org.mmbase.bridge.jsp.taglib.CloudReferrerTag
org.mmbase.bridge.jsp.taglib.NodeReferrerTag
org.mmbase.bridge.jsp.taglib.StringListTag
org.mmbase.bridge.jsp.taglib.containers.QueryPreviousBatchesTag
- All Implemented Interfaces:
- Serializable, LoopTag, BodyTag, IterationTag, JspTag, Tag, TryCatchFinally, ContainerReferrer, QueryContainerReferrer, ContextProvider, ListProvider, TagIdentifier, Writer
public class QueryPreviousBatchesTag
- extends StringListTag
- implements QueryContainerReferrer
A way to make paging-mechanisms. Considers 'offset' and 'maxnumber' of surrounding query.
- Since:
- MMBase-1.7
- Version:
- $Id: QueryPreviousBatchesTag.java 35335 2009-05-21 08:14:41Z michiel $
- Author:
- Michiel Meeuwissen
- See Also:
- Serialized Form
| Methods inherited from class org.mmbase.bridge.jsp.taglib.StringListTag |
doAfterBody, doEndTag, doFinally, doStartTag, getContextContainer, getCurrent, getIndex, getLoopStatus, getMaxNumber, isChanged, remove, setAdd, setComparator, setMax, setNext, setRemove, setRetain, setVarStatus, size |
| Methods inherited from class org.mmbase.bridge.jsp.taglib.NodeReferrerTag |
fillStandardParameters, findNode, findNodeProvider, findNodeProvider, getCloudVar, getLocale, getNode, getNode, getNodeFromPageContext, initTag, setElement, setNode |
| Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag |
appendMoreParameters, doCatch, findLoopOrQuery, findParentTag, findParentTag, findWriter, findWriter, getAttribute, getAttribute, getAttributeBoolean, getAttributeInteger, getAttributeInteger, getAttributeValue, getContentTag, getContextProvider, getContextTag, getCurrentBlock, getDefaultLocale, getEscapedValue, getFormTag, getId, getLocaleFromContext, getObject, getObjectConditional, getPageContext, getPageContextTag, getQuery, getReferid, getString, getTaglibVersion, getThreadPageContext, getTimeZone, getWriterValue, haveBody, release, setContext, setEscape, setId, setJspvar, setListdelimiter, setPageContext, setReferid, setVartype, setWrite, setWriter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
container
protected Attribute container
indexOffsetOffset
protected Attribute indexOffsetOffset
maxtotal
protected Attribute maxtotal
indexOffset
protected int indexOffset
QueryPreviousBatchesTag
public QueryPreviousBatchesTag()
setContainer
public void setContainer(String c)
throws JspTagException
- Description copied from interface:
ContainerReferrer
- If it should not use parent container
- Specified by:
setContainer in interface ContainerReferrer
- Throws:
JspTagException
setMaxtotal
public void setMaxtotal(String m)
throws JspTagException
- Throws:
JspTagException
setIndexoffset
public void setIndexoffset(String i)
throws JspTagException
- Throws:
JspTagException
truncateList
protected void truncateList()
throws JspTagException
- Description copied from class:
StringListTag
- For use with referid
- Overrides:
truncateList in class StringListTag
- Throws:
JspTagException
getIndexOffset
public int getIndexOffset()
- Specified by:
getIndexOffset in interface ListProvider- Overrides:
getIndexOffset in class StringListTag
- Returns:
- The offset of the index (normally this will return 1)
getList
protected List<String> getList()
throws JspTagException
- Description copied from class:
StringListTag
- Creates the actual list of strings.
- Overrides:
getList in class StringListTag
- Throws:
JspTagException
MMBase 2.0-SNAPSHOT - null