org.apache.struts.taglib.tiles
public class GetAttributeTag extends TagSupport implements ComponentConstants
| Field Summary | |
|---|---|
| String | attribute |
| boolean | isErrorIgnored
Do we ignore error if attribute is not found.
|
| String | role Role attribute |
| Constructor Summary | |
|---|---|
| GetAttributeTag()
Default constructor. | |
| Method Summary | |
|---|---|
| int | doEndTag()
Close tag. |
| String | getAttribute()
Get attribute. |
| boolean | getIgnore()
Get ignore flag. |
| String | getName()
Get Name.
|
| String | getRole()
Get role. |
| void | release()
Release all allocated resources. |
| void | setAttribute(String attribute)
Set attribute. |
| void | setIgnore(boolean ignore)
Set ignoring flag when attribute is not found. |
| void | setName(String value)
Set Name.
|
| void | setRole(String role)
Set role. |
false, which will throw an exception.Throws: JspException On error processing tag.
Returns: Attribute.
Returns: false: Exception is thrown when attribute is not found, set to
true to ignore missing attributes silently
Returns: Attribute.
Returns: Role.
Parameters: attribute Attribute.
Parameters: ignore default: false: Exception is thrown when attribute is not found, set to
true to ignore missing attributes silently
Parameters: value Attribute.
Parameters: role The role the user must be in to store content.