public class IncludeTag
extends org.apache.commons.jelly.TagSupport
| Modifier and Type | Field and Description |
|---|---|
static Logger |
LOGGER |
static boolean |
SKIP_LOGGING_CLASS_SETTER |
| Constructor and Description |
|---|
IncludeTag() |
| Modifier and Type | Method and Description |
|---|---|
void |
doTag(org.apache.commons.jelly.XMLOutput output) |
void |
setClass(Class clazz)
Deprecated.
|
void |
setClazz(Class clazz)
When loading script, load from this class.
|
void |
setFrom(Object from)
When loading the script, use the classloader from this object
to locate the script.
|
void |
setIt(Object it)
Specifies the object for which JSP will be included.
|
void |
setOptional(boolean optional)
If true, not finding the page is not an error.
|
void |
setPage(String page)
Specifies the name of the JSP to be included.
|
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBodypublic static final Logger LOGGER
public static boolean SKIP_LOGGING_CLASS_SETTER
@Required public void setPage(String page)
public void setIt(Object it)
public void setFrom(Object from)
public void setClazz(Class clazz)
setFrom(Object) method.
This used to be called setClass, but that ended up causing
problems with new commons-beanutils restrictions via
ConvertingWrapDynaBean use in JellyBuilder.
StaplerTagLibrary uses AttributeNameRewritingTagScript
to ensure attempts to set class instead set clazz, and
that attempts to set clazz directly that way fail.@Deprecated public void setClass(Class clazz)
public void setOptional(boolean optional)
public void doTag(org.apache.commons.jelly.XMLOutput output)
throws org.apache.commons.jelly.JellyTagException
org.apache.commons.jelly.JellyTagExceptionCopyright © 2004–2021. All rights reserved.