org.apache.struts.taglib.tiles
Class AttributeToScopeTag
TagSupport
org.apache.struts.taglib.tiles.AttributeToScopeTag
public final class AttributeToScopeTag
extends TagSupport
Custom tag that puts component's attributes in a scope (request, page, ...).
private String | property - The property name to be exposed.
|
private int | scope - The scope value.
|
private String | scopeName - The scope name.
|
int | doEndTag() - Clean up after processing this enumeration.
|
int | doStartTag() - Expose the requested property from component context.
|
String | getProperty() - Return the property name.
|
void | release() - Release all allocated resources.
|
void | setProperty(String property) - Set the property name.
|
void | setScope(String scope) - Set the scope.
|
property
private String property
The property name to be exposed.
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 property from component context.
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.
property
- The property name
setScope
public void setScope(String scope)
Set the scope.
Copyright B) 2000-2007 - The Apache Software Foundation