How Siebel Open UI Uses AttachEventHandler To Manage an Event

An event occurs when the user clicks an object or changes the focus. To manage this event, Siebel Open UI does the following work:

  1. Instructs the physical renderer to call the OnControlEvent method. To make this call, it uses the event name that Siebel Open UI sends to the AttachEventHandler method and corresponding parameters.

  2. Identifies the list of event handlers that it registered with the event name in the Init function of the presentation model.

  3. Uses the OnControlEvent parameters from Step 1 to call each of the event handlers that it identified in Step 2.

  4. Finishes running all the event handlers, and then sends a return value to the object that called OnControlEvent.