Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • <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

 

Back to Top ^

...

<server>
Anchor

...

server

...

server

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 console function and the only difference is that this element defines the scripts that need to be executed on the server side.

Type 
Default Value 
Fixed Values 
Mandatory/Optional 

...

type
AttributeDescriptionTypeDefault ValueFixed ValuesMandatory/OptionalNotes
function

 

     Set to text/javascript because, at the time of this writing, Governance Registry only supports JavaScript as a scripting language.
Sample Implementations

 

Back to Top ^

...

<server>
Anchor
server
server

XML Syntax<server function=""/>
Description

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.

Type 
Default Value 
Fixed Values 
Mandatory/Optional 
Attributes of the Element
AttributeDescriptionTypeDefault ValueFixed ValuesMandatory/OptionalNotes
function

 

     
Sample Implementations

 

Back to Top ^
 

<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=""/>

...