1 package Reaction::UI::Widget::Collection;
3 use Reaction::UI::WidgetClass;
5 use namespace::clean -except => [ qw(meta) ];
8 implements fragment members {
9 render member => over $_{viewport}->members;
12 implements fragment member {
16 __PACKAGE__->meta->make_immutable;
25 Reaction::UI::Widget::Collection - Render the current viewport's member viewports
29 This widget will allow you to render the viewports stored in the current viewports
36 Renders the C<member> fragment for every entry in the viewports C<members> attribute.
40 Renders the C<viewport> fragment, which will in turn render the C<_> argument. That
41 will be one of the viewports in the current viewport's C<members> attribute when
42 called from C<members>.
46 share/skin/base/layout/collection.tt
48 The following layouts are provided:
54 Renders a C<div> element with a class attribute of C<collection_members> and the
55 C<members> fragment as the content.
63 =item * L<Reaction::UI::Widget::Collection::Grid>
65 =item * L<Reaction::UI::ViewPort::Collection>
71 See L<Reaction::Class> for authors.
75 See L<Reaction::Class> for the license.