GetPhysicalControlValue Method

The GetPhysicalControlValue method gets the value of a physical control. It uses the following syntax:

GetPhysicalControlValue (control); 

For example, the following code gets the value of the physical control that control identifies. This code resides in the pmodel.js file:

this.GetRenderer().GetPhysicalControlValue(control); 

The following example binds the physical renderer to the presentation model. You add this code to the physical renderer:

this.AttachPMBinding("GetPhysicalControlValue", function(control){
    custom_code    
}); 

where:

  • control identifies the control value that Siebel Open UI must get from the physical counterpart of this control from the presentation model.

  • custom_code is code that you write that gets the value from the physical control.