apex.da (Namespaces/API to Handle Dynamic Action Scope)
This namespace holds all Dynamic Action functions in Oracle APEXNamespaces Function
i) .cancel()
ii) .resume()
iii).handleAjaxErrors
Cancel Function :
Call this function to stop the execution of the remaining actions in dynamic action.
For Example : apex.da.cancel(); // don't process any more actions
Resume Function:
Call this function to resume execution of the remaining actions in a dynamic action
To call this function you have access to the 'this' variable 'this' variable contains a property called 'resumeCallback'
For Example : apex.da.resume( this.resumeCallback, false );
Handle Ajax Error
If you are working in Oracle APEX Plugin development this API is very useful for you.
You can hangle All Ajax Error in-process and stop or resume action based on this API result.
For Example :
apex.da.handleAjaxErrors( pjqXHR, pTextStatus, pErrorThrown, lResumeCallback );
Comments
Post a Comment