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

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:
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

Field Summary
protected  int debugtype
           
 
Fields inherited from class org.mmbase.bridge.jsp.taglib.pageflow.UrlTag
helper, page
 
Fields inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag
contextId, PAGE_CATEGORY, pageContextTag, referid
 
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 setDebug(java.lang.String p)
          With debug attribute you can write the urls in comments to the page.
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.pageflow.UrlTag
doAfterBody, getUrl, getUrl, getWriterValue, setJspvar, setPage, setReferids, setVartype, setWrite
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.CloudReferrerTag
findCloudProvider, getCloud, getCloudContext, getNode, setCloud
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag
findParentTag, findParentTag, getAttributeBoolean, getAttributeInteger, getAttributeInteger, getAttributeValue, getContextTag, getObject, getReferid, getString, release, setContext, setPageContext, setReferid
 

Field Detail

debugtype

protected int debugtype
Constructor Detail

IncludeTag

public IncludeTag()
Method Detail

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.

getThisName

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


MMBase 2002