This project has retired. For details please refer to its
Attic page .
UseAttributeTag (Tiles 2 2.1.4 API)
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: 727707 $ $Date: 2008-12-18 13:35:57 +0100 (gio, 18 dic 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 ()
Expose the requested attribute from attribute context.
Specified by: execute
in class AttributeTagSupport
getScriptingVariable
public String getScriptingVariable ()
Returns the scripting variable to use.
Returns: The scripting variable.
Copyright © 2001-2009 Apache Software Foundation . All Rights Reserved.