1 package Reaction::UI::Widget::Field::Collection;
3 use Reaction::UI::WidgetClass;
5 class Collection, which {
7 before fragment widget {
8 arg 'label' => $_{viewport}->label;
11 implements fragment list {
12 render 'item' => over $_{viewport}->value_names;
15 implements fragment item {
28 Reaction::UI::Widget::Field::Collection
36 renders C<label> and C<list> passing additional variable "viewport"
40 C<content> contains the viewport's label
44 renders fragment item over the viewport's C<value_names>
48 C<content> contains the value of the current item ($_ / $_{_})
52 See L<Reaction::Class> for authors.
56 See L<Reaction::Class> for the license.