Application properties - Handler tab
Applications module
Application node, Pages, Data group
Properties
This dialog is only available if the
expert options
have been activated.
Actionhandler
Reacts to actions such as saving and deleting.
Renderinghandler
Is activated when the page is rendered.
Examples for the use of handlers
Action handlers can be used, for example, to write values from a data record when a new record is
saved in a processing context, such as to create a history of a process.
An additional example of an application would be to generate IDs, such as
"NAME_YEAR_CUMULATIVE_NUMBER"
from various edit fields. If this problem is solved with a handler, neither a specific process nor JavaScript
is required. For security reasons, the use of a handler is advantageous as well, since code is run on the server instead of client-side.
Script execution
The scripts are run in the corresponding environment where they are saved –
scripts on a page are only run for that page,
while scripts in data groups are run on all pages and actions contained
in the data group, and scripts in the application node are run
application-wide.
Add handler definition
Opens a
dialog
where a new handler definition can be created.