FocusFirstControl Method
The FocusFirstControl method sets the focus on the first control that the presentation model displays. It uses the following syntax:
FocusFirstControl()
You can add the following code to the physical renderer:
this.GetPM().AttachPMBinding("FocusFirstControl", function(){
custom_code;
});
where:
custom_code is code that you write that handles focus updates from the Siebel Server. For example, updating the enable or disable state of a user interface control that the UpdateUIButtons method of the physical renderer specifies. For more information about the UpdateUIButtons method, see Life Cycle Flows of User Interface Elements.
For information about where you add this code, see Adding Code to the Physical Renderer.