public class ParameterTag
extends neo.taglib.template.TemplateBodyTagSupport
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 |
---|
ParameterTag() |
Modifier and Type | Method and Description |
---|---|
int |
doEndTag()
Default processing of the end tag returning
Tag.EVAL_PAGE . |
int |
doStartTag()
Default processing of the start tag returning
BodyTag.EVAL_BODY_BUFFERED . |
void |
release()
Release state.
|
void |
setKey(String newKey)
sets the key of the parameter to be sent to the parent tag
|
void |
setScope(String newScope)
sets the scope where to search for the given object.
|
void |
setValue(String newValue)
sets the value to be sent to the parent tag
|
doAfterBody, 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 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 doEndTag() throws javax.servlet.jsp.JspException
neo.taglib.template.TemplateBodyTagSupport
Tag.EVAL_PAGE
.doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class neo.taglib.template.TemplateBodyTagSupport
Tag.EVAL_PAGE
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 setKey(String newKey)
newKey
- name of the key to be sentpublic void setScope(String newScope)
newScope
- public void setValue(String newValue)
newValue
- the value© 1998- 2021 Escenic AS