NAME

Reaction::UI::Widget::Value::Collection

DESCRIPTION

This widget provides an additional label argument for the widget fragment containing the localised value of the viewports label attribute.

It also implements the fragments list and item.

FRAGMENTS AND LAYOUTS

widget

This will set the label argument to the return value of the label method on the viewport. The base layout will then render the list fragment.

list

This will render the item fragment once for every entry in the viewports value_names. The base layout will surround the rendered output with a unordered list.

item

This will set the argument name to the localised value of the current iteration (stored in $_). The base layout will render a list item with the value as html escaped content of the item.

LAYOUT SETS

  share/skin/base/layout/value/collection.tt
  share/skin/base/layout/value/list.tt

AUTHORS

See Reaction::Class for authors.

LICENSE

See Reaction::Class for the license.