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

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.CloudReferrerTag
                  extended byorg.mmbase.bridge.jsp.taglib.pageflow.UrlTag
                      extended byorg.mmbase.bridge.jsp.taglib.pageflow.IncludeTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, ParamHandler, java.io.Serializable, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
LeafIncludeTag, TreeIncludeTag

public class IncludeTag
extends UrlTag

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

Version:
$Id: IncludeTag.java,v 1.48.2.4 2004/08/02 17:21:16 michiel Exp $
Author:
Michiel Meeuwissen, Johannes Verelst
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.mmbase.bridge.jsp.taglib.pageflow.UrlTag
UrlTag.Param
 
Field Summary
protected  Attribute debugType
           
 
Fields inherited from class org.mmbase.bridge.jsp.taglib.pageflow.UrlTag
extraParameters, page
 
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 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  boolean getCite()
           
protected  int getDebug()
           
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.
 void setEncoding(java.lang.String e)
           
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.pageflow.UrlTag
addParameter, doAfterBody, doEndTag, doMakeRelative, getPage, getUrl, getUrl, getUrl, makeRelative, setEscapeamps, setPage, setReferids
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.CloudReferrerTag
findCloudProvider, findCloudProvider, getCloud, getCloudContext, getCloudVar, getNode, getNodeOrNull, setCloud
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag
findParentTag, findParentTag, findParentTag, findParentTag, findWriter, findWriter, getAttribute, getAttributeBoolean, getAttributeInteger, getAttributeInteger, getAttributeValue, getContentTag, getContextProvider, getContextTag, getId, getLocale, getObject, getPageContext, getReferid, getString, getWriterValue, haveBody, release, setContext, setEscape, setId, setJspvar, setPageContext, 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 javax.servlet.jsp.tagext.Tag
getParent, setParent
 

Field Detail

debugType

protected Attribute 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

Throws:
javax.servlet.jsp.JspTagException

setEncoding

public void setEncoding(java.lang.String e)
                 throws javax.servlet.jsp.JspTagException
Throws:
javax.servlet.jsp.JspTagException

getCite

protected boolean getCite()
                   throws javax.servlet.jsp.JspTagException
Throws:
javax.servlet.jsp.JspTagException

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspTagException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class UrlTag
Throws:
javax.servlet.jsp.JspTagException

doAfterBodySetValue

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

includePage

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

Throws:
javax.servlet.jsp.JspTagException

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.

Throws:
javax.servlet.jsp.JspTagException

getDebug

protected int getDebug()
                throws javax.servlet.jsp.JspTagException
Throws:
javax.servlet.jsp.JspTagException

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.7.1.20041002