made listview do paging and ordering and all sorts of stupid shit. nobody is welcome...
[catagits/Reaction.git] / lib / Reaction / UI / Widget / GridView / Entity / WithActions.pm
1 package Reaction::UI::Widget::GridView::Entity::WithActions;
2
3 use Reaction::UI::WidgetClass;
4
5 #should I use inheritance here??
6 class WithActions, which {
7   widget  renders [ qw/fields actions/ ];
8   fields  renders [ field  over func(viewport => 'fields') ];
9   field   renders [ 'viewport' ];
10
11   actions renders [ action over func(viewport => 'actions')];
12   action  renders [ 'viewport' ];
13 };
14
15 1;