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