ShowSelection Method

The ShowSelection method makes a record the active record. It does not return any values. It uses the following syntax:

ShowSelection() 

It includes no arguments.

For example, the pmodel.js file includes the following code:

this.GetApplet(strAppletName).ShowSelection(); 

It uses the following code to bind the presentation model in the physical renderer:

this.GetPM().AttachPMBinding("ShowSelection", function(){custom_code}); 

where:

  • custom_code is code that you write. Siebel Open UI runs the ShowSelection method that the applet proxy calls, and then runs your custom code. You add this custom code to the physical renderer.

For examples that use the ShowSelection method, see Text Copy of Code That Does a Partial Refresh for the Presentation Model and Example of Adding a New Method.

For more information about using this method, see Life Cycle Flows of User Interface Elements.