Commit | Line | Data |
e716714f |
1 | package Reaction::UI::Widget::GridView::Row; |
e22de101 |
2 | |
3 | use Reaction::UI::WidgetClass; |
4 | |
e716714f |
5 | class Row, which { |
e22de101 |
6 | widget renders [ cells => { viewport => func('self', 'viewport') } ]; |
7 | cells renders [ cell over func('viewport', 'ordered_fields') ]; |
8 | cell renders [ 'viewport' ]; |
9 | }; |
10 | |
11 | 1; |
12 | |
13 | __END__; |
14 | |
15 | |
16 | =head1 NAME |
17 | |
18 | Reaction::UI::Widget::GridView::Row |
19 | |
20 | =head1 DESCRIPTION |
21 | |
22 | =head1 FRAGMENTS |
23 | |
24 | =head2 widget |
25 | |
26 | Additional variables available in topic hash: "viewport". |
27 | |
28 | Renders "cells" |
29 | |
30 | =head2 cells |
31 | |
32 | Sequentially renders the C<ordered_fields> of the viewport as "cell" |
33 | |
34 | =head2 cell |
35 | |
36 | renders the cell value |
37 | |
38 | =head1 AUTHORS |
39 | |
40 | See L<Reaction::Class> for authors. |
41 | |
42 | =head1 LICENSE |
43 | |
44 | See L<Reaction::Class> for the license. |
45 | |
46 | =cut |