xAPPnow LOW CODE PLATFORM - User Manual 

Still no account yet?

×

UI Element TAB Implementation - SubTAB Events

 
 
The UI Event Scripts SubTab from Implementation TAB is available for User Interface Models, and provides the possibility of configuring specific events (onClick, onDoubleClick, onBlur, onChange, onFileUploaded, onRowClick, onRowDoubleClick and others) wich can be controlled by the Action, Validation and Condition scripts or by Flows of the parent Client Service Model.
 
 
If a UI event will be specified as "Flow" then the UI Flow and UI Validation columns should be selected to define them as "true". The name of the flow is specified in column "Flow Label".
 
If a UI event will be specified as "No Flow" then the UI Flow column should be set as "false" and UI Validation column as "true".
 
If a UI event will be specified as "Cancel Flow" then the UI Flow column should be set as "true" and UI Validation column as "false". The name of the flow is specified in column "Flow Label"
 
If a UI event will be specified as "Cancel No Flow" then the UI Flow column should be set as "false" and UI Validation column as "false".
 
Active column is implicitely selected if any script is entered or UI Flow column and UI Validation is selected.
 
Validation Sub TAB and Condition Sub TAB returns "true" or "false". If Validation script returns "true" then the Action script is processed. If Condition return "true" then the Action and Validation will be processed.
 
 
UI Element TAB Implementation - SubTAB Events
 
 
REMARK: To use the onChange event of UI Element DateTimeField the date should be initialized before enter into the UI Page
 
 
 
1

Double Click
to select UI event

1. Double Click
to select UI event
This column displays supported events for selected UI element.
  • Supported UI events for most of the UI elements: onClick, OnDoubleClick and onBlur, OnChange.
  • Supported UI events for a Table UI element: onRowClick and OnRowDoubleClick.
2

Enter flow label

2. Enter flow label
Enter the name of the flow. The corresponding flow label can then be selected from the context menu of the parent Client Service Model.
3

Action
control
script

3. Action 
control 
script
Enter the Action script to be executed, if the event occurs and before a specified UI element Flow or a UI element Cancel Flow is processed.
4

Validation
control
script

4. Validation 
control 
script
Enter a Validation script to be executed before the specified Action Script and the processing of an UI element Flow or Cancel Flow. Subsequent processing is only possible if the Validation script returns true.
5

Condition
control
script

5. Condition
control 
script
Enter a Condition script to be executed before the specified Validation Script. Subsequent processing is only possible if the Condition script returns true.