aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Reaction/UI/Widget/ObjectView.pm
blob: 28614b62ead4825510b727225415bdf71a97c7a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package Reaction::UI::Widget::ObjectView;

use Reaction::UI::WidgetClass;

class ObjectView, which {
  widget renders [ fields => { viewport   => func('self', 'viewport') } ];
  fields renders [ viewport over func('viewport','ordered_fields')    } ];
};

1;

__END__;


=head1 NAME

Reaction::UI::Widget::ObjectView

=head1 DESCRIPTION

=head1 FRAGMENTS

=head2 widget

Additional variables available in topic hash: "viewport".

Renders "fields"

=head2 fields

Sequentially renders the C<ordered_fields> of the viewport

=head1 AUTHORS

See L<Reaction::Class> for authors.

=head1 LICENSE

See L<Reaction::Class> for the license.

=cut