| Reaction documentation | view source | Contained in the Reaction distribution. |
Reaction::UI::Controller::Collection::CRUD - Basic CRUD functionality for Reaction::InterfaceModel data
Controller class which extends Reaction::UI::Controller::Collection to provide basic Create / Update / Delete / DeleteAll actions.
Building on the base of the Collection controller this controller allows you to easily create complex and highly flexible CRUD functionality for your InterfaceModel models by providing a simple way to render and process your custom InterfaceModel Actions and customize built-ins.
This role also consumes the following roles:
DEPRECATED. Get an instance of the $action_name
InterfaceModel::Action for model $target
This action is suitable for passing to an
Action|Reaction::UI::ViewPort::Action viewport
DEPRECTAED extension to basic_page which automatically instantiates an
InterfaceModel::Action with the right
data target using get_model_action
When a <create> action is applied, move the user to the new object's,
update page.
Map list to ListView (Reaction::UI::ViewPort::ListView).
Add update and delete to the list of default actions.
Add create and delete_all to the list of default actions.
Chained to base. See Reaction::UI::Controller::Role::Action::Create
Chained to base. See Reaction::UI::Controller::Role::Action::DeleteAll
Chained to object. See Reaction::UI::Controller::Role::Action::Update
Chained to object. See Reaction::UI::Controller::Role::Action::Delete
See Reaction::Class for authors.
See Reaction::Class for the license.
| Reaction documentation | view source | Contained in the Reaction distribution. |