org.apache.struts.taglib.tiles
Class UseAttributeTag
TagSupport
org.apache.struts.taglib.tiles.UseAttributeTag
public class UseAttributeTag
extends TagSupport
Custom tag exposing a component attribute to page.
attributeName
private String attributeName
The attribute name to be exposed.
classname
private String classname
Class name of object.
isErrorIgnored
protected boolean isErrorIgnored
Are errors ignored. This is the property for attribute 'ignore'.
Default value is false
, which throws an exception.
Only "attribute not found" - errors are ignored.
scope
private int scope
The scope value.
scopeName
private String scopeName
The scope name.
doEndTag
public int doEndTag()
throws JspException
Clean up after processing this enumeration.
doStartTag
public int doStartTag()
throws JspException
Expose the requested attribute from component context.
getClassname
public String getClassname()
Get class name.
getIgnore
public boolean getIgnore()
Get ignore.
getName
public String getName()
Get name.
getScope
public String getScope()
Get scope.
release
public void release()
Release all allocated resources.
setClassname
public void setClassname(String name)
Set the class name.
name
- The new class name.
setIgnore
public void setIgnore(boolean ignore)
Set ignore.
setName
public void setName(String value)
Set name.
setScope
public void setScope(String scope)
Set the scope.
Copyright B) 2000-2007 - The Apache Software Foundation