org.apache.tiles.jsp.taglib
Class UseAttributeTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.apache.tiles.jsp.taglib.TilesTag
org.apache.tiles.jsp.taglib.AttributeTagSupport
org.apache.tiles.jsp.taglib.UseAttributeTag
- All Implemented Interfaces:
- Serializable, IterationTag, JspTag, Tag, TryCatchFinally
public class UseAttributeTag
- extends AttributeTagSupport
Exposes am attribute as a scripting variable within the page.
- Since:
- Tiles 1.0
- Version:
- $Rev: 727715 $ $Date: 2008-12-18 14:06:06 +0100 (Thu, 18 Dec 2008) $
- See Also:
- Serialized Form
Nested Class Summary |
static class |
UseAttributeTag.Tei
Implementation of TagExtraInfo which identifies
the scripting object(s) to be made visible. |
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 |
UseAttributeTag
public UseAttributeTag()
getClassname
public String getClassname()
- Get class name.
- Returns:
- class name
setClassname
public void setClassname(String name)
- Set the class name.
- Parameters:
name
- The new class name.
reset
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()
.
- Overrides:
reset
in class AttributeTagSupport
execute
public void execute()
throws JspException
- Expose the requested attribute from attribute context.
- Specified by:
execute
in class AttributeTagSupport
- Throws:
JspException
- if a JSP exception has occurred
getScriptingVariable
public String getScriptingVariable()
- Returns the scripting variable to use.
- Returns:
- The scripting variable.
Copyright © 2001-2008 Apache Software Foundation. All Rights Reserved.