ErrorableControllerMixin Class
Mixin for handling errors.
Item Index
Methods
Methods
_openModalDialog
-
modelObject
-
editFormRoute
-
isNewRecord
-
useSidePageMode
Open modal window fo edit record or create new record.
actions.dismissErrorMessages
()
public
Dismiss error messages.
actions.groupEditRowClick
-
record
-
[options]
FlexberryGroupeditComponent row click handler.
It sets modelNoRollBack
to true
at current controller, redirects to detail's route, save necessary data to service.
Parameters:
-
record
Ember.ObjectRecord related to clicked table row.
-
[options]
Object optionalRecord related to clicked table row.
-
saveBeforeRouteLeave
BooleanFlag: indicates whether to save current model before going to the detail's route.
-
editOnSeparateRoute
BooleanFlag: indicates whether to edit detail on separate route.
-
modelName
StringClicked detail model name (used to create record if record is undefined).
-
detailArray
ArrayCurrent detail array (used to add record to if record is undefined).
-
editFormRoute
BooleanPath to detail's form.
-
openCreateModalDialog
-
modelController
-
editFormRoute
-
useSidePageMode
Open create record in modal window.
openEditModalDialog
-
record
-
editFormRoute
-
useSidePageMode
Open edit record in modal window.