org.apache.struts.taglib.tiles

Class UseAttributeTag


public class UseAttributeTag
extends TagSupport

Custom tag exposing a component attribute to page.

Field Summary

private String
attributeName
The attribute name to be exposed.
private String
classname
Class name of object.
protected boolean
isErrorIgnored
Are errors ignored.
private int
scope
The scope value.
private String
scopeName
The scope name.

Method Summary

int
doEndTag()
Clean up after processing this enumeration.
int
doStartTag()
Expose the requested attribute from component context.
String
getClassname()
Get class name.
boolean
getIgnore()
Get ignore.
String
getName()
Get name.
String
getScope()
Get scope.
void
release()
Release all allocated resources.
void
setClassname(String name)
Set the class name.
void
setIgnore(boolean ignore)
Set ignore.
void
setName(String value)
Set name.
void
setScope(String scope)
Set the scope.

Field Details

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.

Method Details

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.
Parameters:
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.
Parameters:
scope - The new scope.

Copyright B) 2000-2007 - The Apache Software Foundation