| Reaction documentation | Contained in the Reaction distribution. |
Reaction::UI::Widget::Collection - Render the current viewport's member viewports
This widget will allow you to render the viewports stored in the current viewports
members attribute.
Renders the member fragment for every entry in the viewports members attribute.
Renders the viewport fragment, which will in turn render the _ argument. That
will be one of the viewports in the current viewport's members attribute when
called from members.
share/skin/base/layout/collection.tt
The following layouts are provided:
Renders a div element with a class attribute of collection_members and the
members fragment as the content.
See Reaction::Class for authors.
See Reaction::Class for the license.
| Reaction documentation | Contained in the Reaction distribution. |
package Reaction::UI::Widget::Collection; use Reaction::UI::WidgetClass; use namespace::clean -except => [ qw(meta) ]; implements fragment members { render member => over $_{viewport}->members; }; implements fragment member { render 'viewport'; }; implements fragment actions { render action => over $_{viewport}->actions; }; implements fragment action { render 'viewport'; }; __PACKAGE__->meta->make_immutable; 1; __END__;