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
Configure Siebel Open UI to refresh a custom event.
For more information, see Customizing Events.
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