RefreshData Method
The RefreshData method is proxy method that Siebel Open UI calls when it refreshes an applet in the client according to data that the applet proxy contains. It returns nothing. It uses the following syntax:
RefreshData(value)
where:
value contains one of the following values:
true. Refresh the applet.
false. Do not refresh the applet.
For example, the following code refreshes the current applet. It resides in the applet.js file:
this.RefreshData(true);
You can add the following code to the physical renderer:
this.GetPM().AttachPMBinding("RefreshData", function(value){
custom_code});
where:
value contains one of the following values:
true. Refresh the applet.
false. Do not refresh the applet.
custom_code is code that you write that refreshes data in the client user interface.
For information about where you add this code, see Adding Code to the Physical Renderer.
For more information about using this method, see Life Cycle Flows of User Interface Elements.