|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
org.apache.tiles.jsp.taglib.AttributeTagSupport
org.apache.tiles.jsp.taglib.UseAttributeTag
public class UseAttributeTag
Exposes am attribute as a scripting variable within the page.
Nested Class Summary | |
---|---|
static class |
UseAttributeTag.Tei
Implementation of TagExtraInfo which identifies
the scripting object(s) to be made visible. |
Field Summary |
---|
Fields inherited from class org.apache.tiles.jsp.taglib.AttributeTagSupport |
---|
attribute, attributeContext, container, ignore, name, scope, scopeName |
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 | |
---|---|
UseAttributeTag()
|
Method Summary | |
---|---|
void |
execute()
Expose the requested attribute from attribute context. |
java.lang.String |
getClassname()
Get class name. |
java.lang.String |
getScriptingVariable()
Returns the scripting variable to use. |
void |
release()
Release all allocated resources. |
void |
setClassname(java.lang.String name)
Set the class name. |
Methods inherited from class org.apache.tiles.jsp.taglib.AttributeTagSupport |
---|
doEndTag, doStartTag, getIgnore, getName, getScope, getScope, getScopeId, setIgnore, setName, setScope |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UseAttributeTag()
Method Detail |
---|
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class AttributeTagSupport
public java.lang.String getClassname()
public void setClassname(java.lang.String name)
name
- The new class name.public void execute() throws javax.servlet.jsp.JspException
execute
in class AttributeTagSupport
javax.servlet.jsp.JspException
- if a JSP exception has occurredpublic java.lang.String getScriptingVariable()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |