This page is for application designers. It explains how to set up actions in response to an event, such as a user mouse-click.
Indraft. Layout component also needs updating??
Often in an application, you want to trigger an action based on an event that occurs on the dashboard:
- the user presses the Enter key: OnEnter
- the user mouse-clicks somewhere: OnChange
- something on the screen changes: OnChange
- something on the screen blurs: OnBlur.
You configure an event handler on a specific layout component, and link it to a specific action or actionflow.
Panel |
---|
borderColor | #7da054 |
---|
titleColor | white |
---|
titleBGColor | #7da054 |
---|
borderStyle | solid |
---|
title | Sections on this page |
---|
|
Table of Contents |
---|
maxLevel | 3 |
---|
indent | 12px |
---|
style | none |
---|
|
|
From the screen, open the component.In the Event Handler section, click Insert excerpt |
---|
_Add | _Add Insert excerpt |
---|
| _Banners |
---|
| _Banners |
---|
name | actionflow |
---|
nopanel | true |
---|
|
Event Handler Properties
For full details on event handlers, see Connecting Actionflows to Events.
Basic Settings
Field | Description |
---|
Event Type | Select the type of event that will trigger an action: - OnClick
- OnEnter
- OnBlur
- OnChange
The list shows only the events available for this type of component. |
Action Method | Available when Event Type is selected. Select the type of action: - Table-Action
- No action
- Actionflow
- Other
|
Action | Available when Action Method is Table-Action. - Either, select a table-action from the drop-down list
- Or, to find table-actions belonging to a specific table:
- Click
Insert excerpt |
---|
| _table_list |
---|
| _table_list |
---|
nopanel | true |
---|
| to show tables in the repository - Expand the table.
- Drag a table-action from the list into this box.
|
Actionflow | Available when Action Method is Actionflow. To select an actionflow, do one of the following: - Select an actionflow from the drop-down list.
- Click
Insert excerpt |
---|
| _actionflow |
---|
| _actionflow |
---|
nopanel | true |
---|
| to show Actionflows in the repository - Click to create a new
|
event handler.In the new event handler tab, select the Action Method.Open the repository to find the action you require.Drag the action from the repository to the Action field, Add to component
Action method
Stream ActionNo actionWorkflow Action |
Other | Available when Action Method is Other. Select from the drop down: - None
- Clear All Fields: clears content from all form fields on the parent form
- Close Screen: closes the parent screen
- Maximise/Minimise Screen: toggles the screen between minimised and its default size
- Screenshot: copies an image of the selected component to the clipboard. The required component must be dragged and dropped into the Screenshot Component box from the
Insert excerpt |
---|
| _layers |
---|
| _layers |
---|
nopanel | true |
---|
| or Insert excerpt |
---|
| _repository |
---|
| _repository |
---|
nopanel | true |
---|
| .
|