public class LoopTag
extends neo.taglib.template.TemplateBodyTagSupport
Modifier and Type | Field and Description |
---|---|
static String |
IS_FIRST |
static String |
IS_LAST |
APPLICATION_SCOPE, BROWSER, COM_ESCENIC_STALE, DEFAULT_STRINGBUFFER_SIZE, EMPTY_STRING, LARGE_STRINGBUFFER_SIZE, LOGGER, PAGE_SCOPE, PUBLISHED, REQUEST_SCOPE, SESSION_SCOPE
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
COM_ESCENIC_NOCACHE, REQUEST_CATALOG_INSTANCE, REQUEST_PRESENTATION_USER_INSTANCE, REQUEST_PRESENTATIONARTICLE_INSTANCE, REQUEST_PRESENTATIONPOOL_INSTANCE, REQUEST_PRESENTATIONPROFILE_INSTANCE, REQUEST_PUBLICATION_INSTANCE, REQUEST_SECTION_INSTANCE, REQUEST_SECTIONTREE_INSTANCE
Constructor and Description |
---|
LoopTag() |
Modifier and Type | Method and Description |
---|---|
int |
doAfterBody()
After the body evaluation: Do not reevaluate and continue with the page.
|
int |
doStartTag()
Default processing of the start tag returning
BodyTag.EVAL_BODY_BUFFERED . |
void |
release()
Release state.
|
void |
setFrom(int newFrom)
sets the from value.
|
void |
setFrom(Object newFrom)
sets the from value.
|
void |
setHowMany(int newHowMany)
sets the howMany value.
|
void |
setHowMany(Object newHowMany)
sets the howMany value.
|
void |
setTo(int newTo)
sets the to value.
|
void |
setTo(Object newTo)
sets the to value.
|
doEndTag, doInitBody, getBodyContent, getPreviousOut, setBodyContent
getDefaultPresentationArticle, getDefaultPresentationPool, getDefaultPublication, getDefaultSection, getPresentationLoader, getSectionTree, getTemplateNameFor, popDefaultObject, print, pushDefaultObject
allowStale, convertToScope, getAPI, getJspPath, getName, getObjectByProperty, getProperty, getServletContext, getSpecifiedObject, getSpecifiedObject, getSpecifiedObject, getToScope, isLoggingEnabled, setName, setProperty, setToScope
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
public static final String IS_FIRST
public static final String IS_LAST
public int doStartTag() throws javax.servlet.jsp.JspException
neo.taglib.template.TemplateBodyTagSupport
BodyTag.EVAL_BODY_BUFFERED
.doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class neo.taglib.template.TemplateBodyTagSupport
BodyTag.EVAL_BODY_BUFFERED
javax.servlet.jsp.JspException
- if an error occurred while processing this tag.public int doAfterBody() throws javax.servlet.jsp.JspException
neo.taglib.template.TemplateBodyTagSupport
doAfterBody
in interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
in class neo.taglib.template.TemplateBodyTagSupport
Tag.SKIP_BODY
¨javax.servlet.jsp.JspException
- if an error occurred while processing this tag.public void release()
neo.taglib.template.TemplateBodyTagSupport
release
in interface javax.servlet.jsp.tagext.Tag
release
in class neo.taglib.template.TemplateBodyTagSupport
public void setFrom(Object newFrom)
newFrom
- the from value. It must be a String we can parse into an int, or an Integer.public void setFrom(int newFrom)
newFrom
- public void setTo(int newTo)
newTo
- public void setTo(Object newTo)
newTo
- the from value. It must be a String we can parse into an int, or an Integer.public void setHowMany(Object newHowMany)
newHowMany
- it must be a String we can parse into an int, or an Integer.public void setHowMany(int newHowMany)
newHowMany
- © 1998- 2018 Stibo DX