org.mmbase.bridge.jsp.taglib
Class AbstractParamTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.mmbase.bridge.jsp.taglib.ContextReferrerTag
org.mmbase.bridge.jsp.taglib.AbstractParamTag
- All Implemented Interfaces:
- Serializable, BodyTag, IterationTag, JspTag, Tag, TryCatchFinally
- Direct Known Subclasses:
- FrameworkParamTag, ParamTag
abstract class AbstractParamTag
- extends ContextReferrerTag
Adds an extra parameter to the parent URL tag.
- Since:
- MMBase-1.9
- Version:
- $Id: AbstractParamTag.java 36002 2009-06-11 20:54:44Z michiel $
- Author:
- Michiel Meeuwissen
| Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag |
appendMoreParameters, doCatch, fillStandardParameters, findLoopOrQuery, findParentTag, findParentTag, findWriter, findWriter, getAttribute, getAttribute, getAttributeBoolean, getAttributeInteger, getAttributeInteger, getAttributeValue, getContentTag, getContextProvider, getContextTag, getCurrentBlock, getDefaultLocale, getEscapedValue, getFormTag, getId, getLocale, getLocaleFromContext, getObject, getObjectConditional, getPageContext, getPageContextTag, getQuery, getReferid, getString, getTaglibVersion, getThreadPageContext, getTimeZone, getWriterValue, haveBody, release, setContext, setEscape, setId, setJspvar, setListdelimiter, setPageContext, setPageContextOnly, setVartype, setWrite, setWriter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
entries
protected List<Entry<String,Object>> entries
name
protected Attribute name
value
protected Attribute value
referid
protected Attribute referid
handled
protected boolean handled
AbstractParamTag
AbstractParamTag()
setName
public void setName(String n)
throws JspTagException
- Throws:
JspTagException
setValue
public void setValue(String v)
throws JspTagException
- Throws:
JspTagException
setReferid
public void setReferid(String r)
throws JspTagException
- Description copied from class:
ContextReferrerTag
- ContextReferrers normally can have the attribute 'referid'. If
a ContextReferrer has the 'id' attribute it registers its
output in the surrounding Context. With 'referid' you can 'repeat' a
tag which had the 'id' attribute.
- Overrides:
setReferid in class ContextReferrerTag
- Parameters:
r - referid value
- Throws:
JspTagException - when parsing of attributes fails- Since:
- MMBase-1.8
addParameter
public void addParameter(String key,
Object value)
throws JspTagException
- Throws:
JspTagException
doStartTag
public int doStartTag()
throws JspException
- Specified by:
doStartTag in interface Tag- Overrides:
doStartTag in class BodyTagSupport
- Throws:
JspException
addParameter
protected abstract void addParameter(Object value)
throws JspTagException
- Throws:
JspTagException- Since:
- MMBase-1.9
doAfterBody
public int doAfterBody()
throws JspException
- Specified by:
doAfterBody in interface IterationTag- Overrides:
doAfterBody in class BodyTagSupport
- Throws:
JspException
doEndTag
public int doEndTag()
throws JspTagException
- Specified by:
doEndTag in interface Tag- Overrides:
doEndTag in class ContextReferrerTag
- Throws:
JspTagException
doFinally
public void doFinally()
- Specified by:
doFinally in interface TryCatchFinally- Overrides:
doFinally in class ContextReferrerTag
MMBase 2.0-SNAPSHOT - null