923c5921b611d8c92f5c53878e043debafdf1ee9
[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   widget renders [ 'fields' ];
7   fields renders [ field over func('viewport', 'ordered_fields')   ];
8   field  renders [ '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 "fields"
29
30 =head2 fields
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