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:
-
recordEmber.ObjectRecord related to clicked table row.
-
[options]Object optionalRecord related to clicked table row.
-
saveBeforeRouteLeaveBooleanFlag: indicates whether to save current model before going to the detail's route.
-
editOnSeparateRouteBooleanFlag: indicates whether to edit detail on separate route.
-
modelNameStringClicked detail model name (used to create record if record is undefined).
-
detailArrayArrayCurrent detail array (used to add record to if record is undefined).
-
editFormRouteBooleanPath to detail's form.
-
openCreateModalDialog
-
modelController -
editFormRoute -
useSidePageMode
Open create record in modal window.
openEditModalDialog
-
record -
editFormRoute -
useSidePageMode
Open edit record in modal window.
Flexberry Documentation