13. Event-System

13.1. Intro

Any x0-system-object getting backend data via x0-service-connector method is able to receive x0-system-events.

Any x0-system-object is able to register to multiple x0-events. During x0-init (initial page load), the InitSystem x0-system-event is triggered / fired.

Note

Some x0-object-types, e.g., the List object will be completely removed from the DOM and re-rendered by invoking callbackXMLRPCAsync() method.

image - event system

13.2. Raising Events

The following x0-object-types support raising events.

  • Button

  • ButtonInternal

  • Link

14. Control Flow Items

The next sub-chapters describe the logical control-flow and in which order they are processed.

14.1. Button

  • Backend Service Execution

  • Execute Action after successful Form Validation

  • Fire Events after successful Form Validation

  • Execute OnResult Actions after successful Service Execution

  • Fire Events after successful Service Execution

14.2. ButtonInternal

  • No Backend Service Execution

  • Form Validation

  • Execute Action after successful Form Validation

  • Fire Events after successful Form Validation

14.4. LinkExternal

  • Open External Link in current Browser Window

  • Open External Link in new Browser Tab