Reaction::UI::Widget::Collection - Render the current viewport's member viewports


Reaction documentation Contained in the Reaction distribution.

Index


Code Index:

NAME

Top

Reaction::UI::Widget::Collection - Render the current viewport's member viewports

DESCRIPTION

Top

This widget will allow you to render the viewports stored in the current viewports members attribute.

FRAGMENTS

Top

members

Renders the member fragment for every entry in the viewports members attribute.

member

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.

LAYOUT SETS

Top

  share/skin/base/layout/collection.tt

The following layouts are provided:

widget

Renders a div element with a class attribute of collection_members and the members fragment as the content.

SEE ALSO

Top

* Reaction::UI::Widget::Collection::Grid
* Reaction::UI::ViewPort::Collection

AUTHORS

Top

See Reaction::Class for authors.

LICENSE

Top

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__;