Saturday, June 18, 2011

Scripting Paths for return (CancelOperation) in browser or server script:

If you are curious about how CancelOperation works in browser and server scripts below information will make you understand better.

return (CancelOperation) in Applet PreInvoke Method Browser Script

Applet_PreInvoke -> End

return (CancelOperation) in Applet PreInvoke Method Server Script
Applet_PreInvoke -> WebApplet_PreInvoke -> Applet_Invoke -> End

return (CancelOperation) in BusComp PreInvoke Method Server Script
Applet_PreInvoke -> WebApplet_PreInvoke -> BusComp_PreInvoke -> WebApplet_Invoke -> Applet_Invoke -> End


return (CancelOperation) in BusComp Invoke Method Server Script
No Impact

return (CancelOperation) in Applet Invoke Method Server Script
No Impact

return (CancelOperation) in Applet Invoke Method Browser Script
No Impact


return (CancelOperation) on post events does not do anything. For example, if you write return (CancelOperation) in
Applet_InvokeMethod, Buscomp_InvokeMethod, BusComp_NewRecord etc, it does not make any difference to the scripting
flow.

return (CancelOperation) plays role only on Pre events like PreInvokeMethod, PreNewRecord, PreWriteRecord etc

No comments:

Post a Comment