fixup widgets to use fragment
[catagits/Reaction.git] / lib / Reaction / UI / Widget / ObjectView.pm
1 package Reaction::UI::Widget::ObjectView;
2
3 use Reaction::UI::WidgetClass;
4
5 class ObjectView, which {
6   fragment widget [ 'field_list' ];
7   fragment field_list [ field over func('viewport', 'ordered_fields')   ];
8   fragment field  [ 'viewport' ];
9 };
10
11 1;
12
13 __END__;
14
15
16 =head1 NAME
17
18 Reaction::UI::Widget::ObjectView
19
20 =head1 DESCRIPTION
21
22 =head1 FRAGMENTS
23
24 =head2 widget
25
26 Additional variables available in topic hash: "viewport".
27
28 Renders "field_list"
29
30 =head2 field_list
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.
41
42 =cut