mendix.sys.XAS
The mendix.sys.XAS
subsystem provides an API to handle special Runtime calls.
Methods
getActiveModules(args)
This method is called to get the modules and widgets being used in the application.
Parameters
Name |
Type |
Description |
args.callback |
Function |
Function to call with the result. |
args.error |
Function |
Function to call if an error occurs. |
hasValidations(response)
This method is called to check whether a Runtime response contains validation feedback.
Parameters
Name |
Type |
Description |
response |
Object |
The Runtime response to check for validations. |
Returns
Type |
Description |
Boolean |
true if the response contains validation feedback. |
getValidations(response)
This method is called to get the validation feedback from a Runtime response.
Parameters
Name |
Type |
Description |
response |
Object |
The Runtime response to get validations from. |
Returns
Type |
Description |
ObjectValidation |
The validation feedback the response contains. |
hasInstructions(response)
This method is called to check whether the Runtime response contains instructions.
Parameters
Name |
Type |
Description |
response |
Object |
The Runtime response to check for instructions. |
Returns
Type |
Description |
Boolean |
true if the response contains instructions. |
startup(callback)
This method is called to startup the subsystem.
Parameters
Name |
Type |
Description |
callback |
Function |
The function to be called when startup is finished. |
shutdown()
This method is called to shutdown the subsystem.
isLoaded()
This method is called to check whether the subsystem has been started.
Returns
Type |
Description |
Boolean |
true if the subsystem has been started. |