mx.remote
The mendix.sys.RemoteControl
subsystem provides an API to handle validations and instructions.
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. |
execute(instructions, caller)
This method is called to execute Runtime instructions.
Parameters
Name | Type | Description |
---|---|---|
instructions | Object | The instructions to execute. |
caller | Object | The caller on which instructions like ‘open form’ and ‘close form’ are invoked. |
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. |