com.bea.wlw.netui.tags
Interface IAttributeConsumer
- All Known Implementing Classes:
- Anchor, Base, Button, CheckBox, CheckBoxOption, FileUpload, Form, Hidden, Image, ImageAnchor, ImageButton, Label, RadioButtonOption, Select, SelectOption, TextArea, TextBox
public interface IAttributeConsumer
This interfaces is implemented by tags that allow attributes to be set
externally to the tag. The HTML tags for example, allow certain attributes to
be set by children tags through the use of the attribute
tag.
setAttribute
void setAttribute(String name,
String value)
throws javax.servlet.jsp.JspException
- Set an attribute value on the implementing class. The
name
represents
the name of the attribute. The value
represents the value and may contain
an expression. The facet
is optional and may be used by complex types to
target the attribute to a sub part of the generated markup. This method may result in errors
being generated.
- Parameters:
name
- The name of the attribute. This value may not be null or the empty string.value
- The value of the attribute. This may contain an expression.
- Throws:
javax.servlet.jsp.JspException
- A JspException may be thrown if there is an error setting the attribute.