- CRUD functionality is now implemented as roles, so it can be used
without needing to use Controller::Collection::CRUD
- Deprecate redirect_to and move it to an external role
+ - Controllers no longer 'use Reaction::Class' which was causing
+ problems with metaclass compatibility. 'use Moose' is now the
+ preferred approach.
0.002000 - 29 Apr 2008
- Update CheckUniques role to use around instead of overrides
- Stop using ACCEPT_CONTEXT, use InstancePerContext instead
use strict;
use warnings;
-use Reaction::Class;
+use Moose;
BEGIN { extends 'Reaction::UI::Controller::Root'; }
use aliased 'Reaction::UI::ViewPort';
package ComponentUI::Controller::TestModel::Bar;
-use Reaction::Class;
+use Moose;
BEGIN { extends 'Reaction::UI::Controller::Collection::CRUD'; }
__PACKAGE__->config(
package ComponentUI::Controller::TestModel::Baz;
-use Reaction::Class;
+use Moose;
BEGIN { extends 'Reaction::UI::Controller::Collection::CRUD'; }
use ComponentUI::UI::ViewPort::Baz::ListView::Member;
package ComponentUI::Controller::TestModel::Foo;
-use Reaction::Class;
+use Moose;
BEGIN { extends 'Reaction::UI::Controller::Collection::CRUD'; }
use aliased 'Reaction::UI::ViewPort::SearchableListViewContainer';
package Reaction::UI::Controller;
-use Reaction::Class;
+use Moose;
use Scalar::Util 'weaken';
use namespace::clean -except => [ qw(meta) ];
package Reaction::UI::Controller::Collection;
-use Reaction::Class;
+use Moose;
BEGIN { extends 'Reaction::UI::Controller'; }
use aliased 'Reaction::UI::ViewPort::Collection::Grid';
package Reaction::UI::Controller::Collection::CRUD;
-use Reaction::Class;
+use Moose;
BEGIN { extends 'Reaction::UI::Controller::Collection'; }
use aliased 'Reaction::UI::ViewPort::ListView';
package Reaction::UI::Controller::Collection::CRUD::Search;
-use Reaction::Class;
+use Moose;
BEGIN { extends 'Reaction::UI::Controller::Collection::CRUD'; }
use aliased 'Reaction::UI::ViewPort::SearchableListViewContainer';
package Reaction::UI::Controller::Root;
-use Reaction::Class;
+use Moose;
use Reaction::UI::Window;
BEGIN { extends 'Reaction::UI::Controller'; }