element <eval>
Namespace:
http://schema.caplin.com/CaplinTrader/webcentric
XML Representation Summary
<eval
   
 = 
xs:string
 = 
xs:string
 = 
xs:string
 = 
xs:string
/>
Parent elements (3):
Description
The eval action executes some JavaScript code when invoked. This action is usually used within a button or menu item, for example: to trigger the Logout method of the application.
Attribute Detail
content
Type:
xs:string, predefined
Use:
optional
Script to be executed when the "eval" action is invoked.

event
Type:
xs:string, predefined
Use:
optional
The DOM event that triggers this eval action to be executed. For instance, using a value of "DOMActivate" will trigger the action when the element in which the action is used (eg. Button) is clicked.

id
Type:
xs:string, predefined
Use:
optional
A unique id for the eval action. This id can be used as a reference when the eval action is defined as a declaration and referred to from multiple parts of the layout.

xref
Type:
xs:string, predefined
Use:
optional
The value of this xpath expression is a reference to the id of an eval action declared elsewhere in the configuration.