org.apache.struts.taglib.tiles

Class AttributeToScopeTag

public final class AttributeToScopeTag extends TagSupport

Deprecated: Is it still in use ?

Custom tag that puts component's attributes in a scope (request, page, ...).
Field Summary
Stringproperty
The property name to be exposed.
intscope
The scope value.
StringscopeName
The scope name.
Method Summary
intdoEndTag()
Clean up after processing this enumeration.
intdoStartTag()
Expose the requested property from component context.
StringgetProperty()
Return the property name.
voidrelease()
Release all allocated resources.
voidsetProperty(String property)
Set the property name.
voidsetScope(String scope)
Set the scope.

Field Detail

property

private String property
The property name to be exposed.

scope

private int scope
The scope value.

scopeName

private String scopeName
The scope name.

Method Detail

doEndTag

public int doEndTag()
Clean up after processing this enumeration.

Throws: JspException if a JSP exception has occurred

doStartTag

public int doStartTag()
Expose the requested property from component context.

Throws: JspException if a JSP exception has occurred

getProperty

public String getProperty()
Return the property name.

release

public void release()
Release all allocated resources.

setProperty

public void setProperty(String property)
Set the property name.

Parameters: property The property name

setScope

public void setScope(String scope)
Set the scope.

Parameters: scope The new scope

Copyright B) 2000-2007 - The Apache Software Foundation