...
- <aspect>
- <configuration>
- <lifecycle>
- <scxml>
- <state>
- <datamodel>
- <data>
- <item>
- <permissions>
- <permission>
- <validations>
- <validation>
- <parameter>
- <js>
- <console>
- <script>
- <server function=""> <server>
- <script type="text/javascript">
- <execution forEvent="" class="">
- <parameter name="" value=""/>
- <ui forEvent="" href=""/>
- <transition event="" target=""/>
...
XML Syntax | <console function=""/> |
---|---|
Description | Defines the JavaScript function that needs to be executed on the client side. |
Type | |
Default Value | |
Fixed Values | |
Mandatory/Optional |
...
XML Syntax | <script type="text/javascript"/> |
---|---|
Description | Contains the actual JavaScript code segment. A user has the ability to define any code segment here. |
Type | |
Default Value | |
Fixed Values | |
Mandatory/Optional |
...
Sample Implementations
...
<server>
Anchor |
---|
...
|
...
|
XML Syntax | <script type<server function="text"/javascript"> |
---|---|
Description | Contains the actual JavaScript code segment. A user has the ability to define any code segment hereThis is the same as the |
Type | |
Default Value | |
Fixed Values | |
Mandatory/Optional |
...
Attribute | Description | Type | Default Value | Fixed Values | Mandatory/Optional | Notes | type|
---|---|---|---|---|---|---|---|
function |
| Set to text/javascript because, at the time of this writing, Governance Registry only supports JavaScript as a scripting language. |
Sample Implementations
...
<server>
Anchor | ||||
---|---|---|---|---|
|
XML Syntax | <server function=""/> |
---|---|
Description | This is the same as the |
Type | |
Default Value | |
Fixed Values | |
Mandatory/Optional |
Attributes of the Element
Attribute | Description | Type | Default Value | Fixed Values | Mandatory/Optional | Notes |
---|---|---|---|---|---|---|
function |
|
Sample Implementations
<execution forEvent="" class="">
...
- The
forEvent
attribute - Defines the event for which this UI will be presented. - The
href
attribute - Defines the hyperlink that will be opened and presented to the user, when a lifecycle operation is performed from the Management Console.
<server function="">
This is the same as the console
function and the only difference is that this element defines the scripts that need to be executed on the server side.
The function
attribute defines the function name.
<transition event="" target=""/>
...