
public class InsertPageTag extends WikiTagBase
This tag sets the "realPage" field of the WikiContext to point at the inserted page, while the "page" will contain the actual page in which the rendering is being made.
Attributes
| Modifier and Type | Field and Description |
|---|---|
static int |
HTML |
protected String |
m_pageName |
static int |
PLAIN |
ATTR_CONTEXT, m_wikiContext| Constructor and Description |
|---|
InsertPageTag() |
| Modifier and Type | Method and Description |
|---|---|
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 |
setMode(String arg) |
void |
setPage(String page) |
doCatch, doEndTag, doFinally, doStartTag, setId, setPageContextpublic static final int HTML
public static final int PLAIN
protected String m_pageName
public InsertPageTag()
public void initTag()
WikiTagBaseinitTag in class WikiTagBasepublic final int doWikiStartTag() throws IOException, ProviderException
WikiTagBasedoWikiStartTag in class WikiTagBaseIOExceptionProviderExceptionCopyright © 2001-2019 The Apache Software Foundation. All rights reserved.