BBjWebManager::setAttribute
Description
In BBj 22.03 and higher, this method sets a component attribute on the web page.
Note:
In BBj 22.03 and higher, BBjWebManager is an alias for BBjBuiManager.
Syntax
Return Value | Method |
---|---|
void |
setAttribute(String attribute, String value) |
void | setAttribute(String attribute, String value, String selector) |
Parameters
Parameter | Description |
---|---|
attribute | Specifies an attribute to be set on the web page. |
value | Specifies the value of that attribute. |
selector | By default, setAttribute applies to the document element on the web page. If a selector is specified, it selects a descendant element within the document to set this attribute. If a specified selector doesn't return any elements, the default document element is used. |
Return Value
None.
Remarks
This functionality is primarily intended for setting low-level BUI element attributes or DWC component attributes. When running in GUI, the attributes do not affect the control itself, but may be used by the developer.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.