Configuring Siebel Open UI > Customizing Siebel Open UI > Customizing Events >

Attaching More Than One Event Handler to an Event


This topic describes how to attach more than one event handler to an event.

To attach more than one event handler to an event

  • Use the following code:

    this.AttachEventHandler("custom_event", "custom_method_1");
    this.AttachEventHandler("custom_event", "custom_method_2");
    this.AttachEventHandler("custom_event", "custom_method_3");

The physical renderer or the plug-in wrapper triggers these handlers when the following code is executed:

this.GetPM().OnControlEvent( "custom_event", param1, param2)

The presentation model determines that it must handle three events, and it handles them in the reverse order that you specify them. In this example, it uses the following sequence when it handles the event:

  1. custom_method_3
  2. custom_method_2
  3. custom_method_1

The presentation model sends the same values for the parameters that OnControlEvent specifies for each event handler.

For more information, see AttachEventHandler Method.

Configuring Siebel Open UI Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices.