make_immutable for new moose
r31688@martha (orig r1231): mateu | 2009-09-13 18:18:07 -0400
Bump version of SQL::Translator required for testing so t/im_dbic.t passes.
r31689@martha (orig r1232): wreis | 2009-09-14 13:35:30 -0400
fixed child_event_sinks for SearchableListViewContainer vp
r31690@martha (orig r1233): wreis | 2009-09-14 13:35:58 -0400
collection-grid already does Pager and Actions
r31691@martha (orig r1234): edenc | 2009-09-14 23:51:37 -0400
added search spec sample to demo app
r31692@martha (orig r1235): wreis | 2009-09-15 11:36:30 -0400
no divs in base skin
r31693@martha (orig r1236): purge | 2009-09-17 10:21:58 -0400
pass through layout_args to actions
r31694@martha (orig r1237): edenc | 2009-09-17 14:14:04 -0400
compatibility fixes for Class::MOP 0.93
);
}
- # sub _build_action_viewport_args {
- # my $self = shift;
- # my $args = $self->next::method(@_);
- # # $args->{list}{action_prototypes}{delete_all}{label} = 'Delete All Records';
- # return $args;
- # }
+ override _build_action_viewport_map => sub {
+ my $map = super();
+ $map->{list} = SearchableListViewContainer;
- $map;
++ return $map;
+ };
+
-sub _build_action_viewport_args {
- my $self = shift;
- my $args = $self->next::method(@_);
- $args->{list}{action_prototypes}{delete_all}{label} = 'Delete All Records';
++override _build_action_viewport_args => sub {
++ my $args = super();
+ $args->{list}{spec_class} = SearchSpec;
+ $args->{list}{action_class} = Update;
+ return $args;
-}
++};
1;
++
++__END__;