PostExecute Method
The PostExecute method runs in the presentation model after the InvokeMethod method finishes running. Siebel Open UI calls the InvokeMethod method, returns the call from the Siebel Server, and then runs PostExecute. The PostExecute method uses the following syntax:
PostExecute(cmd, inputPS, menuPS, lpcsa);
You add this code in the presentation model:
this.AddMethod("PostExecute", function(method_name, input_property_set,
output_property_set){
{custom_code},
{sequence : true, scope : this});
where:
method_name identifies the method that the Siebel Server called from the applet proxy.
input_property_set contains the property set that Siebel Open UI sends to the Siebel Server from the applet proxy.
output_property_set contains the property set that Siebel Open UI sends from the Siebel Server to the applet proxy.
custom_code is code that you write that customizes a PostExecute method.
For an example that uses the PostExecute method, see Registering Methods to Make Sure Siebel Open UI Runs Them in the Correct Sequence.
For more information about using this method, see AttachPostProxyExecuteBinding Method and Life Cycle Flows of User Interface Elements.