r15427@deathmachine (orig r458): groditi | 2008-01-02 15:44:09 -0500
[catagits/Reaction.git] / lib / Reaction / UI / Widget / Object.pm
1 package Reaction::UI::Widget::Object;
2
3 use Reaction::UI::WidgetClass;
4
5 class Object, which {
6
7   implements fragment field_list {
8     render field => over $_{viewport}->fields;
9   };
10
11   implements fragment field {
12     render 'viewport';
13   };
14
15 };
16
17 1;
18
19 __END__;
20
21
22 =head1 NAME
23
24 Reaction::UI::Widget::Object
25
26 =head1 DESCRIPTION
27
28 =head1 FRAGMENTS
29
30 =head2 widget
31
32 Renders C<field_list>
33
34 =head2 field_list
35
36 Sequentially renders the C<ordered_fields> of the viewport.
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