Show TOC Start of Content Area

Background documentation UI Element Event Model  Locate the document in its SAP Library structure

 

The Web Dynpro event model associates a UI element event with an action. The action is associated with an action event handler. The role of this model is to bind actions and their event handlers to UI element events in a way that enables the use of the same event handler for several different UI element events and to decouple the event handler implementation from UI element events.

The general procedure for the creation and execution of action event handlers is as follows. From within the Web Dynpro tools, an action and its event handler is created and bound to a UI element event. Parameters for the action event handler are supplied by means of parameter mapping. At runtime, the Web Dynpro runtime framework receives a request from the browser and extracts the UI element event. From this UI element event, the framework knows which action is associated with the UI element event. Next, the action event handler is determined from the action and executed.

The following figure shows the dependency from UI element events to action event handlers.

This graphic is explained in the accompanying text

Next Section:

Generic Validation Service

End of Content Area