| Reaction documentation | Contained in the Reaction distribution. |
Reaction::UI::Widget::Object - Widget to implement rendering of an object
Sequentially renders the fields of the viewport found in its containers
method return values.
Renders the field viewport passed by container_list.
Renders the action fragment with every item in the viewports actions.
Renders the viewport fragment provided by Reaction::UI::Widget, thus
rendering the current viewport stored in the _ topic argument provided
by the actions fragment.
Sequentially renders the fields of the viewport;
Renders the field viewport passed by field_list
share/skin/base/layout/object.tt
The following layouts are provided:
Renders the container_list fragment.
Renders the container viewport.
share/skin/default/layout/object.tt
This layout set inherits from the one with the same name in the base skin.
The following layouts are provided:
Renders the container viewport.
See Reaction::Class for authors.
See Reaction::Class for the license.
| Reaction documentation | Contained in the Reaction distribution. |
package Reaction::UI::Widget::Object; use Reaction::UI::WidgetClass; use namespace::clean -except => [ qw(meta) ]; implements fragment container_list { render container => over $_{viewport}->containers; }; implements fragment container { render 'viewport'; }; #we won't be needing these anymore implements fragment field_list { render field => over $_{viewport}->fields; }; implements fragment field { render 'viewport'; }; implements fragment actions { render action => over $_{viewport}->actions; }; implements fragment action { render 'viewport'; }; __PACKAGE__->meta->make_immutable; 1; __END__;