widget
Creates an instance of a custom widget. The widget must be defined through a widgetdescriptor tag. Parameters declared within the widgetdescriptor’s config block may be overridden through param tags within a config block.
Syntax
<widget widgetid="widget-id" baseOID="base-oid">
<config>
<params>
<param/>
<param/>
. . .
<params/>
</config>
</widget>
Attributes
In addition to General Attributes, the following attributes may be specified to the <widget> tag:
Attributes |
Values |
Restrictions |
Description |
widgetid |
String |
Must match the id of a declared widgetdescriptor. |
Widget identifier. |
baseOID |
String |
|
Specifies the base OID string for relative parameter access. Relative parameter access within the widget will be prefixed with the value of the baseOID attribute string. |
See Also
Examples
The following example displays a custom widget with id alarmgrid:
<widget widgetid="alarmgrid" top="100" left="100"/>
The following example displays a custom widget with id alarmgrid, overriding the value of parameter str2 with the value “New String Value”:
<widget left="100" top="300" widgetid="alarmgrid">
<config>
<params>
<param oid="str2" value="New String Value"/>
</params>
</config>
</widget>