Reaction::UI::Widget::Value::Collection - Reaction::UI::Widget::Value::Collection documentation


Reaction documentation  | view source Contained in the Reaction distribution.

Index


NAME

Top

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

DESCRIPTION

Top

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

Top

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

Top

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

AUTHORS

Top

See Reaction::Class for authors.

LICENSE

Top

See Reaction::Class for the license.


Reaction documentation  | view source Contained in the Reaction distribution.