1 package Reaction::UI::Widget::Collection::Grid::Member::WithActions;
3 use Reaction::UI::WidgetClass;
5 use namespace::clean -except => [ qw(meta) ];
6 extends 'Reaction::UI::Widget::Collection::Grid::Member';
8 implements fragment actions {
9 render action => over $_{viewport}->actions;
12 implements fragment action {
16 __PACKAGE__->meta->make_immutable;
24 Reaction::UI::Widget::Grid::Member::WithActions - Grid members with actions
28 This is a subclass of L<Reaction::UI::Widget::Grid::Member> additionally
29 providing actions per member.
35 Renders the C<action> fragment with every item in the viewports C<actions>.
39 Renders the C<viewport> fragment provided by L<Reaction::UI::Widget>, thus
40 rendering the current viewport stored in the C<_> topic argument provided
41 by the C<actions> fragment.
47 share/skin/base/layout/collection/grid/member/with_actions.tt
49 This layout set extends the C<collection/grid/member> layout set in the parent
52 The following layouts are provided:
58 First renders the original C<field_list> fragment, then the C<actions> fragment.
62 Simply renders the next C<action> fragment in line.
68 share/skin/default/layout/collection/grid/member/with_actions.tt
70 This layout skin extends the C<collection/grid/member> layout set in the parent
73 The following layouts are provided:
79 The same as in the C<base> skin.
83 Renders the original C<action> fragment surrounded by a C<td> element.
91 =item * L<Reaction::UI::Widget::Grid::Member>
93 =item * L<Reaction::UI::Widget::Grid>
99 See L<Reaction::Class> for authors.
103 See L<Reaction::Class> for the license.