Maslosoft Framework Logo Maslosoft Framework Documentation
Flexible Application Foundation


Action Decorator

Action decorator adds on click action on lists, grid, tree or other enumerating widgets. This allows interaction of listed models.

Said action could be used to update, view or in any way alter document.

Action decorator Example usages:

Short notation, requires ModelRoute annotation. This is recommended usage:

@Decorator(Action, 'view')

Fully qualified notation (not recommended):

@Decorator(Action, 'app.module.admin.log.view')

Shortened notation:

@Decorator(Action, 'admin.log.view')

NOTE: Make sure that Action (or other class literal) is imported via use notation.