listview ported bar pager
[catagits/Reaction.git] / lib / Reaction / UI / Widget / GridView / Entity.pm
CommitLineData
b8faba69 1package Reaction::UI::Widget::GridView::Entity;
2
3use Reaction::UI::WidgetClass;
4
5class Entity, which {
aa8c0c90 6
7 implements fragment field_list {
8 render 'field' => over $_{viewport}->fields;
9 };
10
11 implements fragment field {
12 render 'viewport';
13 };
14
b8faba69 15};
16
171;
18
19__END__;
20
21
22=head1 NAME
23
24Reaction::UI::Widget::GridView::Entity
25
26=head1 DESCRIPTION
27
28=head1 FRAGMENTS
29
30=head2 widget
31
32Additional variables available in topic hash: "viewport".
33
6bc27bd3 34Renders "field_list"
b8faba69 35
6bc27bd3 36=head2 field_list
b8faba69 37
38Sequentially renders the C<fields> of the viewport as "field"
39
40=head2 field
41
42renders the cell value
43
44=head1 AUTHORS
45
46See L<Reaction::Class> for authors.
47
48=head1 LICENSE
49
50See L<Reaction::Class> for the license.
51
52=cut