Defines a transaction default entry handler.

A Handler is similar to a Function except that it is automatically executed when the associated event occurs. The Default entry handler is a screen class entry handler, associated with an entry on a screen class event. If present in a transaction, it is executed when no specific screen class entry handler is defined for the currently detected screen class. In other words, it is a generic screen class entry handler.
Thus, Default entry handler can be defined for multiple screen classes on which the programmer knows that the same actions are to be done.
Beware that this handler will be executed for the Default_screen_class screen class if no specific handler is defined for this screen class. As the Default_screen_class screen class matches every page that is not defined in the connector, this handler can potentially be executed on a lot of unmanaged pages. Such behaviors can lead to infinite loop transactions.
Notes:

• A Default entry handler contains other statements that define the actions to be performed. It can return a result value (redetect by default as this is an entry handler).
Default entry handlers can only be added to a transaction, one Default entry handler per transaction.

Property Type Category Description
Comment String standard Describes the object comment to include in the documentation report.
This property generally contains an explanation about the object.
Infinite loop protection boolean standard Defines whether the handler should be protected against infinite loops in transaction.
If set to true (default value), the handler prevents infinite loops by throwing a Convertigo Engine exception when an infinite loop is detected.
Default value should not be changed unless you specifically want the handler to authorize loops in transaction.
Is active boolean standard Defines whether the statement is active.
Result String standard Defines the handler’s default resulting value.
Depending on the handler type, this property can be chosen among several available values.
For a Default entry handler, this property can take the following values:

<empty> or "": goes on and extracts data using extraction rules,
continue: similar to <empty> value,
redetect: does not extract data and redetects a new screen class,
skip: stops the transaction without extracting data.

Note: The Handler’s default return value defined thanks to this property can be overridden by a child Return statement.