|
||||||||||
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.ContentTag
public class ContentTag
Is used as a "super include" tag, which can include the proper context based on the wikicontext.
Field Summary |
---|
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 | |
---|---|
ContentTag()
|
Method Summary | |
---|---|
int |
doEndTag()
|
int |
doWikiStartTag()
This method is allowed to do pretty much whatever he wants. |
void |
setComment(String s)
Set the template for the COMMENT context. |
void |
setConflict(String s)
Set the template for the CONFLICT context. |
void |
setDiff(String s)
Set the template for the DIFF context. |
void |
setEdit(String s)
Set the template for the EDIT context. |
void |
setError(String s)
Set the template for the ERROR context. |
void |
setFind(String s)
Set the template for the FIND context. |
void |
setInfo(String s)
Set the template for the INFO context. |
void |
setPrefs(String s)
Set the template for the PREFS context. |
void |
setPreview(String s)
Set the template for the PREVIEW context. |
void |
setView(String s)
Set the template for the VIEW context. |
Methods inherited from class org.apache.wiki.tags.WikiTagBase |
---|
doCatch, doFinally, doStartTag, initTag, 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 |
Constructor Detail |
---|
public ContentTag()
Method Detail |
---|
public void setView(String s)
s
- The template name.public void setDiff(String s)
s
- The template name.public void setInfo(String s)
s
- The template name.public void setPreview(String s)
s
- The template name.public void setConflict(String s)
s
- The template name.public void setFind(String s)
s
- The template name.public void setPrefs(String s)
s
- The template name.public void setError(String s)
s
- The template name.public void setEdit(String s)
s
- The template name.public void setComment(String s)
s
- The template name.public final int doWikiStartTag() throws IOException, ProviderException
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 |