r20434@hades (orig r549): groditi | 2008-01-30 18:09:54 -0300
[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 =head1 NAME
22
23 Reaction::UI::Widget::Object
24
25 =head1 DESCRIPTION
26
27 =head1 FRAGMENTS
28
29 =head2 field_list
30
31 Sequentially renders the C<fields> of the viewport in the C<computed_field_order>
32
33 =head2 field
34
35 Renders the C<field> viewport passed by C<field_list>
36
37 =head1 AUTHORS
38
39 See L<Reaction::Class> for authors.
40
41 =head1 LICENSE
42
43 See L<Reaction::Class> for the license.
44
45 =cut