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, 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 classes inherited from class org.mmbase.bridge.jsp.taglib.pageflow.UrlTag |
UrlTag.Param |
| 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 |
|
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.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 |
debugType
protected Attribute debugType
IncludeTag
public IncludeTag()
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