| |
|
| org.apache.beehive.netui.tags.AbstractClassicTag org.apache.beehive.netui.tags.template.SetAttribute
SetAttribute | public class SetAttribute extends AbstractClassicTag implements TemplateConstants(Code) | | Set an Attribute value defined in a template. This tag is
used in content pages to set the value of attributes defined in a template.
The attribute value will override any default value defined on the
Attribute .
TemplateAttribute |
Method Summary | |
public int | doStartTag() Tag Lifecycle method called when the tag is first seen. | public String | getTagName() Return the name of the tag. | protected void | localRelease() Reset all of the fields of the tag. | public void | setName(String name) Set the name of the attribute. | public void | setValue(String value) Set the value of the Attribute . |
doStartTag | public int doStartTag() throws JspException(Code) | | Tag Lifecycle method called when the tag is first seen. This method
will add the Attribute value to a HashMap
stored in the request allowing the template to access the value. If
there are errors, the error text will be placed into the attribute
value. Nothing is written into the ServletResponse
EVAL_PAGE to continue processing the page. throws: JspException - on error |
getTagName | public String getTagName()(Code) | | Return the name of the tag. This is used by error reporting
in the base class AbstractBaseTag .
|
localRelease | protected void localRelease()(Code) | | Reset all of the fields of the tag.
|
setName | public void setName(String name)(Code) | | Set the name of the attribute.
Parameters: name - The name of the Attribute in thetemplate for which this tags sets the value. |
setValue | public void setValue(String value) throws JspException(Code) | | Set the value of the Attribute . This attribute
may be assigned a read only expression.
Parameters: value - The value to use for the Attribute in the template. |
|
|
|