|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport org.apache.wiki.tags.WikiTagBase org.apache.wiki.tags.IncludeTag
public class IncludeTag
Includes an another JSP page, making sure that we actually pass the WikiContext correctly.
Field Summary | |
---|---|
protected String |
m_page
|
Fields inherited from class org.apache.wiki.tags.WikiTagBase |
---|
ATTR_CONTEXT, m_wikiContext |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
id, pageContext |
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 | |
---|---|
int |
doEndTag()
|
int |
doWikiStartTag()
This method is allowed to do pretty much whatever he wants. |
String |
getPage()
|
void |
initTag()
This method is called when the tag is encountered within a new request, but before the setXXX() methods are called. |
void |
setPage(String page)
|
Methods inherited from class org.apache.wiki.tags.WikiTagBase |
---|
doCatch, doFinally, doStartTag, setId, setPageContext |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setParent, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String m_page
Constructor Detail |
---|
public IncludeTag()
Method Detail |
---|
public void initTag()
WikiTagBase
initTag
in class WikiTagBase
public void setPage(String page)
public String getPage()
public final int doWikiStartTag() throws IOException, ProviderException
WikiTagBase
doWikiStartTag
in class WikiTagBase
IOException
ProviderException
public final int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class WikiTagBase
javax.servlet.jsp.JspException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |