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

Overriding Event Handlers


The example in this topic configures Siebel Open UI to override an event handler that the predefined presentation model references.

To override event handlers

  1. Configure Siebel Open UI to refresh a custom event.

    For more information, see Customizing Events.

  2. Add the following code to your custom presentation model:

    this.AddMethod(SiebelApp.Constants.get("PHYEVENT_INVOKE_CONTROL"), function(controlName) {
      // Process button click
      return false;
    });

    This code configures Siebel Open UI to return the following value from the event handler. It makes sure this presentation model does not continue processing:

    false

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