mx.xas
The mendix.sys.XAS
subsystem provides an API to handle special Runtime calls.
Properties
-
Methods
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. |
Returns
-
shutdown()
This method is called to shutdown the subsystem.
Parameters
-
Returns
-
isLoaded()
This method is called to check whether the subsystem has been started.
Parameters
-
Returns
Type | Description |
---|---|
Boolean | true if the subsystem has been started. |
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. |
Returns
-
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 |
---|---|
mendix.lib.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. |