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_boxandlistfragments. - label_box
-
Renders a
spanelement containing thelabelargument. - list
-
Renders the
items inside adivandulelement. - item
-
Renders the
nameargument inside alielement.
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
baseskin, except the label is surrounded by astrongelement.
AUTHORS
See Reaction::Class for authors.
LICENSE
See Reaction::Class for the license.