EditFormControllerOperationsIndicationMixin Class
Edit forms controllers mixin which handles save/delete operations indication.
Item Index
Methods
- actions.onErrorMessageHide
- actions.onErrorMessageShow
- actions.onSuccessMessageHide
- actions.onSuccessMessageShow
- onDeleteActionAlways.
- onDeleteActionFulfilled.
- onDeleteActionRejected.
- onDeleteActionStarted.
- onDeleteActionStarted.
- onSaveActionAlways.
- onSaveActionFulfilled.
- onSaveActionRejected.
- onSaveActionStarted.
Methods
actions.onErrorMessageHide
()
Handler for error ui-message component 'onHide' action.
actions.onErrorMessageShow
()
Handler for error ui-message component 'onShow' action.
actions.onSuccessMessageHide
()
Handler for success ui-message component 'onHide' action.
actions.onSuccessMessageShow
()
Handler for success ui-message component 'onShow' action.
onDeleteActionAlways.
-
data
This method will be invoked always when delete operation completed, regardless of delete promise's state (was it fulfilled or rejected).
Parameters:
-
data
ObjectData about completed delete operation.
onDeleteActionFulfilled.
()
This method will be invoked when delete operation successfully completed.
onDeleteActionRejected.
-
errorData
This method will be invoked when delete operation completed, but failed.
Parameters:
-
errorData
ObjectData about delete operation fail.
onDeleteActionStarted.
()
This method will be invoked before delete operation will be called.
onDeleteActionStarted.
()
This method will be invoked before close method will be called.
onSaveActionAlways.
-
data
This method will be invoked always when save operation completed, regardless of save promise's state (was it fulfilled or rejected).
Parameters:
-
data
ObjectData about completed save operation.
onSaveActionFulfilled.
()
This method will be invoked when save operation successfully completed.
onSaveActionRejected.
-
errorData
This method will be invoked when save operation completed, but failed.
Parameters:
-
errorData
ObjectData about save operation fail.
onSaveActionStarted.
()
This method will be invoked before save operation will be called.
Properties
formSuccessMessageCaption.
String
Success message caption related to current locale and operation type.
showFormErrorMessage.
Boolean
Flag: indicates whether asynchronous operation failed or not.
Default: false
showFormSuccessMessage.
Boolean
Flag: indicates whether asynchronous operation succeed or not.
Default: false