1 package Reaction::UI::Widget::Object;
3 use Reaction::UI::WidgetClass;
5 use namespace::clean -except => [ qw(meta) ];
7 implements fragment container_list {
8 render container => over $_{viewport}->containers;
11 implements fragment container {
15 #we won't be needing these anymore
16 implements fragment field_list {
17 render field => over $_{viewport}->fields;
20 implements fragment field {
24 implements fragment actions {
25 render action => over $_{viewport}->actions;
28 implements fragment action {
32 __PACKAGE__->meta->make_immutable;
40 Reaction::UI::Widget::Object - Widget to implement rendering of an object
48 Sequentially renders the C<fields> of the viewport found in its C<containers>
53 Renders the C<field> viewport passed by C<container_list>.
57 Renders the C<action> fragment with every item in the viewports C<actions>.
61 Renders the C<viewport> fragment provided by L<Reaction::UI::Widget>, thus
62 rendering the current viewport stored in the C<_> topic argument provided
63 by the C<actions> fragment.
65 =head1 DEPRECATED FRAGMENTS
69 Sequentially renders the C<fields> of the viewport;
73 Renders the C<field> viewport passed by C<field_list>
79 share/skin/base/layout/object.tt
81 The following layouts are provided:
87 Renders the C<container_list> fragment.
91 Renders the container viewport.
97 share/skin/default/layout/object.tt
99 This layout set inherits from the one with the same name in the C<base> skin.
101 The following layouts are provided:
107 Renders the container viewport.
113 See L<Reaction::Class> for authors.
117 See L<Reaction::Class> for the license.