switch over to sub style from AUTOLOAD style (Widget transition)
[catagits/Reaction.git] / lib / Reaction / UI / Widget / ObjectView.pm
CommitLineData
7b78a39d 1package Reaction::UI::Widget::ObjectView;
2
3use Reaction::UI::WidgetClass;
4
5class 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
111;
12
13__END__;
14
7b78a39d 15
5a1a893e 16=head1 NAME
7b78a39d 17
5a1a893e 18Reaction::UI::Widget::ObjectView
7b78a39d 19
5a1a893e 20=head1 DESCRIPTION
21
22=head1 FRAGMENTS
23
24=head2 widget
25
26Additional variables available in topic hash: "viewport".
27
6bc27bd3 28Renders "field_list"
5a1a893e 29
6bc27bd3 30=head2 field_list
5a1a893e 31
32Sequentially renders the C<ordered_fields> of the viewport
33
34=head1 AUTHORS
35
36See L<Reaction::Class> for authors.
37
38=head1 LICENSE
39
40See L<Reaction::Class> for the license.
7b78a39d 41
42=cut