The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Reaction::UI::Widget::Field::Collection - A field representing a collection

DESCRIPTION

This field class will render a collection of values found in the viewport's value_names and localised before passed to the layout.

FRAGMENTS

widget

renders label and list passing additional variable "viewport"

label

content contains the viewport's label

list

renders fragment item over the viewport's value_names

item

content contains the value of the current item ($_ / $_{_})

LAYOUT SETS

base

  share/skin/base/layout/field/collection.tt

The following layouts are provided:

widget

Renders the label_box and list fragments.

label_box

Renders a span element containing the label argument.

list

Renders the items inside a div and ul element.

item

Renders the name argument inside a li element.

default

  share/skin/default/layout/field/collection.tt

This layout set extends the NEXT one in the parent skin.

The following layouts are provided:

label_box

The same as in the base skin, except the label is surrounded by a strong element.

AUTHORS

See Reaction::Class for authors.

LICENSE

See Reaction::Class for the license.