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, setPageContext
public static final int HTML
public static final int PLAIN
protected String m_pageName
public InsertPageTag()
public void initTag()
WikiTagBase
initTag
in class WikiTagBase
public final int doWikiStartTag() throws IOException, ProviderException
WikiTagBase
doWikiStartTag
in class WikiTagBase
IOException
ProviderException
Copyright © 2001-2019 The Apache Software Foundation. All rights reserved.