org.mmbase.bridge.jsp.taglib
Class ParamTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended byorg.mmbase.bridge.jsp.taglib.ContextReferrerTag
              extended byorg.mmbase.bridge.jsp.taglib.ParamTag
All Implemented Interfaces:
BodyTag, IterationTag, ParamHandler, Serializable, Tag

public class ParamTag
extends ContextReferrerTag
implements ParamHandler

Adds an extra parameter to the parent URL tag.

Version:
$Id: ParamTag.java,v 1.12 2006/06/23 15:33:00 michiel Exp $
Author:
Michiel Meeuwissen
See Also:
Serialized Form

Field Summary
protected  List entries
           
 
Fields inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag
contextId, EVAL_BODY, helper, id, pageContextTag, writerid
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
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
ParamTag()
           
 
Method Summary
 void addParameter(String key, Object value)
           
 int doAfterBody()
           
 int doEndTag()
           
 int doStartTag()
           
 void release()
          Release all allocated resources.
 void setName(String n)
           
 void setReferid(String r)
          ContextReferrers normally can have the attribute 'referid'.
 void setValue(String v)
           
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag
fillStandardParameters, findLoopOrQuery, findParentTag, findParentTag, findParentTag, findParentTag, findWriter, findWriter, getAttribute, getAttributeBoolean, getAttributeInteger, getAttributeInteger, getAttributeValue, getContentTag, getContextProvider, getContextTag, getDefaultLocale, getEscapedValue, getId, getLocale, getObject, getObjectConditional, getPageContext, getPageContextTag, getReferid, getString, getTaglibVersion, getTimeZone, getWriterValue, haveBody, setContext, setEscape, setId, setJspvar, setListdelimiter, setPageContext, setVartype, setWrite, setWriter
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getParent, getValue, getValues, removeValue, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setParent
 

Field Detail

entries

protected List entries
Constructor Detail

ParamTag

public ParamTag()
Method Detail

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
Throws:
JspTagException
Since:
MMBase-1.8

addParameter

public void addParameter(String key,
                         Object value)
                  throws JspTagException
Specified by:
addParameter in interface ParamHandler
Throws:
JspTagException

doStartTag

public int doStartTag()
               throws JspException
Specified by:
doStartTag in interface Tag
Throws:
JspException

doAfterBody

public int doAfterBody()
                throws JspException
Specified by:
doAfterBody in interface IterationTag
Throws:
JspException

doEndTag

public int doEndTag()
             throws JspTagException
Specified by:
doEndTag in interface Tag
Overrides:
doEndTag in class ContextReferrerTag
Throws:
JspTagException

release

public void release()
Description copied from class: ContextReferrerTag
Release all allocated resources.

Specified by:
release in interface Tag
Overrides:
release in class ContextReferrerTag


MMBase build 1.8.1.20060716