org.mmbase.bridge.jsp.taglib
Class ComponentTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by org.mmbase.bridge.jsp.taglib.ContextReferrerTag
              extended by org.mmbase.bridge.jsp.taglib.CloudReferrerTag
                  extended by org.mmbase.bridge.jsp.taglib.ComponentTag
All Implemented Interfaces:
Serializable, BodyTag, IterationTag, JspTag, Tag, TryCatchFinally, FrameworkParamHandler, ParamHandler, Writer

public class ComponentTag
extends CloudReferrerTag
implements ParamHandler, FrameworkParamHandler, Writer

Renders a certain block of an mmbase component

Since:
MMBase-1.9
Version:
$Id: ComponentTag.java 36891 2009-07-13 15:58:59Z michiel $
Author:
Michiel Meeuwissen
See Also:
Serialized Form

Field Summary
protected  List<Map.Entry<String,Object>> extraFrameworkParameters
           
protected  List<Map.Entry<String,Object>> extraParameters
           
 
Fields inherited from class org.mmbase.bridge.jsp.taglib.CloudReferrerTag
cloudId
 
Fields inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag
contextId, EVAL_BODY, helper, id, pageContextTag, referid, 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 org.mmbase.bridge.jsp.taglib.ParamHandler
KEY, SCOPE
 
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
ComponentTag()
           
 
Method Summary
 void addFrameworkParameter(String key, Object value)
           
 void addParameter(String key, Object value)
           
 int doAfterBody()
           
 int doEndTag()
           
 int doStartTag()
           
protected  void getContent(Writer w)
           
protected  void initDoEndTag()
           
 void setBlock(String b)
           
 void setDebug(String d)
           
 void setName(String c)
           
 void setRender(String r)
           
 void setWindowstate(String s)
           
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.CloudReferrerTag
fillStandardParameters, findCloudProvider, findCloudProvider, getCloudContext, getCloudVar, getLocale, getNode, getNodeOrNull, setCloud
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag
appendMoreParameters, doCatch, doFinally, 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, setPageContextOnly, setReferid, 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 org.mmbase.bridge.jsp.taglib.Writer
getWriterValue, haveBody, setEscape, setJspvar, setVartype, setWrite
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setParent
 

Field Detail

extraParameters

protected final List<Map.Entry<String,Object>> extraParameters

extraFrameworkParameters

protected final List<Map.Entry<String,Object>> extraFrameworkParameters
Constructor Detail

ComponentTag

public ComponentTag()
Method Detail

setName

public void setName(String c)
             throws JspTagException
Throws:
JspTagException

setWindowstate

public void setWindowstate(String s)
                    throws JspTagException
Throws:
JspTagException

setRender

public void setRender(String r)
               throws JspTagException
Throws:
JspTagException

setBlock

public void setBlock(String b)
              throws JspTagException
Throws:
JspTagException

setDebug

public void setDebug(String d)
              throws JspTagException
Throws:
JspTagException

addParameter

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

addFrameworkParameter

public void addFrameworkParameter(String key,
                                  Object value)
Specified by:
addFrameworkParameter in interface FrameworkParamHandler

getContent

protected void getContent(Writer w)
                   throws JspTagException
Throws:
JspTagException

doStartTag

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

doAfterBody

public int doAfterBody()
                throws JspTagException
Specified by:
doAfterBody in interface IterationTag
Overrides:
doAfterBody in class BodyTagSupport
Throws:
JspTagException

initDoEndTag

protected void initDoEndTag()
                     throws JspTagException
Throws:
JspTagException

doEndTag

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


MMBase 2.0-SNAPSHOT - null