Websydian v6.1 online documentationOnline documentation - WebsydianExpress v3.5

EventHandlerForProcess

Scoped name

WSYAPI/EventHandlerForProcess

Purpose

This is the basic function, which all event handlers used in the application must inherit from.

In addition to providing support for using facilities offered by the WebsydianSEI framework, it also supports session control, integrity control etc.

Special considerations

A significant difference from the standard Websydian EventHandlers is that these events can be registered dynamically by the EventDispatcher. This means that you no longer have to regenerate and build the EventDispatcher each time a new event handler function has been made.

The EventHandlerForProcess can be configured to validate the input from the browser (variable WebInput) based on the definitions in the Plex model.

By default the validation is disabled.

To enable the validation insert the following triples:

MyEventHandler option NME WSYAPI/ValidationEnabled
...value SYS Yes

More information