|
|||||||||
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.TilesTag
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, attributeValue, 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. |
protected void |
reset()
Release any per-invocation resources, resetting any resources or state that should be cleared between successive invocations of Tag.doEndTag() and
Tag.doStartTag() . |
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 org.apache.tiles.jsp.taglib.TilesTag |
---|
doCatch, doFinally, release |
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 java.lang.String getClassname()
public void setClassname(java.lang.String name)
name
- The new class name.protected void reset()
Tag.doEndTag()
and
Tag.doStartTag()
.
reset
in class AttributeTagSupport
public void execute()
execute
in class AttributeTagSupport
public java.lang.String getScriptingVariable()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |