org.mmbase.bridge.jsp.taglib.pageflow
Class IncludeTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--javax.servlet.jsp.tagext.BodyTagSupport
              |
              +--org.mmbase.bridge.jsp.taglib.ContextReferrerTag
                    |
                    +--org.mmbase.bridge.jsp.taglib.CloudReferrerTag
                          |
                          +--org.mmbase.bridge.jsp.taglib.pageflow.UrlTag
                                |
                                +--org.mmbase.bridge.jsp.taglib.pageflow.IncludeTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag, Writer
Direct Known Subclasses:
LeafIncludeTag, TreeIncludeTag

public class IncludeTag
extends UrlTag

Like UrlTag, but does not spit out an URL, but the page itself.

Author:
Michiel Meeuwissen, Johannes Verelst
See Also:
Serialized Form

Field Summary
protected  int debugtype
           
 
Fields inherited from class org.mmbase.bridge.jsp.taglib.pageflow.UrlTag
extraParameters, helper, page
 
Fields inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag
contextId, PAGE_CATEGORY, pageContextTag, referid, writerid
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, 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
IncludeTag()
           
 
Method Summary
protected  void doAfterBodySetValue()
           
 int doStartTag()
           
protected  java.lang.String getThisName()
          Returns a name for this tag, that must appear in the debug message (in the comments)
protected  void includePage()
          Includes another page in the current page.
 void setCite(java.lang.String c)
          Test whether or not the 'cite' parameter is set
 void setDebug(java.lang.String p)
          With debug attribute you can write the urls in comments to the page, just before and after the included page.
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.pageflow.UrlTag
addParameter, doAfterBody, doEndTag, getUrl, getUrl, getUrl, getWriterValue, haveBody, setEscapeamps, setJspvar, setPage, setReferids, setVartype, setWrite
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.CloudReferrerTag
findCloudProvider, findCloudProvider, getCloud, getCloudContext, getNode, getNodeOrNull, setCloud
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag
findParentTag, findParentTag, findWriter, findWriter, getAttributeBoolean, getAttributeInteger, getAttributeInteger, getAttributeValue, getContextTag, getObject, getReferid, getString, release, setContext, setPageContext, setReferid, setWriter
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, 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

debugtype

protected int debugtype
Constructor Detail

IncludeTag

public IncludeTag()
Method Detail

setCite

public void setCite(java.lang.String c)
             throws javax.servlet.jsp.JspTagException
Test whether or not the 'cite' parameter is set

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspTagException
Overrides:
doStartTag in class UrlTag

doAfterBodySetValue

protected void doAfterBodySetValue()
                            throws javax.servlet.jsp.JspTagException
Overrides:
doAfterBodySetValue in class UrlTag

includePage

protected void includePage()
                    throws javax.servlet.jsp.JspTagException
Includes another page in the current page.

setDebug

public void setDebug(java.lang.String p)
              throws javax.servlet.jsp.JspTagException
With debug attribute you can write the urls in comments to the page, just before and after the included page.

getThisName

protected java.lang.String getThisName()
Returns a name for this tag, that must appear in the debug message (in the comments)


MMBase build 1.6.5.20030923