Namespace: resourceFile

Oracle® Fusion Middleware JSDoc Reference for Oracle Mobile Application Framework
2.4.2.0.0

E81109-03

QuickNav

adf.mf.api.resourceFile

Methods

<static> _addCSTimestampToResource(resourceName)

Internal function for adding the config service timestamp to the resource to load
Parameters:
Name Type Description
resourceName string the resource to load

<static> _tryAlternateFetchOnFailure(resourceName, successCB, errorCB)

Internal function that handles failure for an ajax fetch. In case of UWP error could be triggred because of long file names (> 260 characters)
Parameters:
Name Type Description
resourceName string
successCB function
errorCB function

<static> loadJsFile(resourceName, async, successCB, errorCB, filterCB)

Internal function for loading JS files
Parameters:
Name Type Description
resourceName string the resource to load
async boolean whether the request should be asynchronous
successCB function the JS could be parsed
errorCB function the JS could not be parsed
filterCB function the optional filter function that can change the response text before it is used

<static> loadJsonFile(resourceName, async, successCB, errorCB)

Internal function for loading JSON files
Parameters:
Name Type Description
resourceName string the resource to load
async boolean whether the request should be asynchronous
successCB function the JSON could be parsed
errorCB function the JSON could not be parsed