Method parameters
This document lists the format of method parameters that you can use in:
Method calls on objects as XML event handlers
UI XML document resolution syntax
The following table describes formats that you can use for parameters that you use in declarative method calls:
Parameter | Description |
this | Indicates the current element. |
this.attName | Indicates attribute value of attName on the current element. For example: this.text |
5 | An integer. |
5.5 | A double. |
true/false | A boolean. |
"string" | A string surrounded by double quotes. |
'string' | A string surrounded by single quotes. |
elementId - | An element in the UI dom. |
elementId.attName | Indicates attribute value of attName on an element in the UI dom. |
Indicates an object in the given container. Container names include mco, macro and document. | |
container:name.method(... ) | Indicates a method call on an obect in the given container. |
name.method(...) | Indicates a method call on a system service availabe in XML. |