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:
- BodyTag, IterationTag, ParamHandler, Serializable, 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.66 2006/03/28 22:35:22 michiel Exp $
- Author:
- Michiel Meeuwissen, Johannes Verelst
- See Also:
- Serialized Form
| Methods inherited from class org.mmbase.bridge.jsp.taglib.pageflow.UrlTag |
addParameter, doAfterBody, doEndTag, doMakeRelative, getUrl, getUrl, getUrl, initDoEndTag, makeRelative, setAbsolute, setEncode, setEscapeamps, setPage, setReferids, useAbsoluteAttribute |
| Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag |
findLoopOrQuery, findParentTag, findParentTag, findParentTag, findParentTag, findWriter, findWriter, getAttribute, getAttributeBoolean, getAttributeInteger, getAttributeInteger, getAttributeValue, getContentTag, getContextProvider, getContextTag, getDefaultLocale, getEscapedValue, getId, getObject, getObjectConditional, getPageContext, getPageContextTag, getReferid, getString, getTaglibVersion, getTimeZone, getWriterValue, haveBody, release, setContext, setEscape, setId, setJspvar, setListdelimiter, setPageContext, setReferid, setVartype, setWrite, setWriter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INCLUDE_PATH_KEY
public static final String INCLUDE_PATH_KEY
- See Also:
- Constant Field Values
INCLUDE_LEVEL_KEY
public static final String INCLUDE_LEVEL_KEY
- See Also:
- Constant Field Values
debugType
protected Attribute debugType
notFound
protected Attribute notFound
resource
protected Attribute resource
IncludeTag
public IncludeTag()
setCite
public void setCite(String c)
throws JspTagException
- Test whether or not the 'cite' parameter is set
- Throws:
JspTagException
setEncoding
public void setEncoding(String e)
throws JspTagException
- Throws:
JspTagException
setNotfound
public void setNotfound(String n)
throws JspTagException
- Throws:
JspTagException
getCite
protected boolean getCite()
throws JspTagException
- Throws:
JspTagException
setAttributes
public void setAttributes(String a)
throws JspTagException
- Throws:
JspTagException
setResource
public void setResource(String r)
throws JspTagException
- Throws:
JspTagException
getPage
protected String getPage()
throws JspTagException
- Overrides:
getPage in class UrlTag
- Throws:
JspTagException
doStartTag
public int doStartTag()
throws JspTagException
- Specified by:
doStartTag in interface Tag- Overrides:
doStartTag in class UrlTag
- Throws:
JspTagException
doAfterBodySetValue
protected void doAfterBodySetValue()
throws JspTagException
- Overrides:
doAfterBodySetValue in class UrlTag
- Throws:
JspTagException
addContext
protected boolean addContext()
- Overrides:
addContext in class UrlTag
handleResponse
protected void handleResponse(int code,
String result,
String url)
throws JspTagException
- Throws:
JspTagException- Since:
- MMBase-1.8
includePage
protected void includePage()
throws JspTagException
- Includes another page in the current page.
- Throws:
JspTagException
setDebug
public void setDebug(String p)
throws JspTagException
- With debug attribute you can write the urls in comments to the page, just before and after
the included page.
- Throws:
JspTagException
getDebug
protected int getDebug()
throws JspTagException
- Throws:
JspTagException
getThisName
protected String getThisName()
- Returns a name for this tag, that must appear in the debug message (in the comments)
MMBase build 1.8.1.20060716