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
$action_name
$target
Action|Reaction::UI::ViewPort::Action
DEPRECTAED extension to basic_page which automatically instantiates an InterfaceModel::Action with the right data target using get_model_action
basic_page
get_model_action
When a <create> action is applied, move the user to the new object's, update page.
update
Map list to ListView.
list
Add update and delete to the list of default actions.
delete
Add create and delete_all to the list of default actions.
create
delete_all
Chained to base. See Reaction::UI::Controller::Role::Action::Create
base
Chained to base. See Reaction::UI::Controller::Role::Action::DeleteAll
Chained to object. See Reaction::UI::Controller::Role::Action::Update
object
Chained to object. See Reaction::UI::Controller::Role::Action::Delete
Reaction::UI::Controller::Collection, Reaction::UI::Controller
See Reaction::Class for authors.
See Reaction::Class for the license.
2 POD Errors
The following errors were encountered while parsing the POD:
Unknown directive: =over4
'=item' outside of any '=over'
To install Reaction, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Reaction
CPAN shell
perl -MCPAN -e shell install Reaction
For more information on module installation, please visit the detailed CPAN module installation guide.