%widget%

Expands to the id of widget within the current context.

Syntax

%widget%

Example

If used within a widget, the following displays the widget’s ID:

<label name="the value of myParam is %widget%"/>