Declaring the AttachPMBinding Method When Using the Base Physical
If you configure Siebel Open UI to use the BasePhysicalRenderer class, then you must declare the AttachPMBinding method.
To declare the AttachPMBinding method when using the Base Physical Renderer class
Use a JavaScript editor to open your custom physical renderer.
Locate the Init method.
Add the following code to the Init method that you located in Step 2:
CustomPhysicalRenderer.prototype.Init = function(){ // Be a good citizen. Call Superclass first SiebelAppFacade.CustomPhysicalRenderer.superclass.Init.call(this); // Call AttachPMBinding here. }
For example:
CustomPhysicalRenderer.prototype.Init = function(){ SiebelAppFacade.CustomPhysicalRenderer.superclass.Init.call(this); this.AttachPMBinding("EndQueryState", EndQueryState); }