
Reaction::UI::Widget::Field::Mutable::ChooseOne - Choose one from a list of available values

See Reaction::UI::Widget::Field::Mutable. This widget provides the user with a field where he can select a single value from a list of many.

Renders a series fragment option for each value_choices in the viewport
Additional varibles set: is_required - Boolean,
self-explanatory
content is a dummy variable,
but th additional variables v_value,
v_name and is_selected are set
Renders either option_is_required_yes or option_is_required_no depending on the viewport's value_is_required attribute.
Renders the option fragment over the viewport's value_choices.
This populates the list of available values.
Renders either option_is_selected_yes or option_is_selected_no depending on if the viewport's is_current_value method returns true on the current topic arguments value key.

share/skin/base/layout/field/mutable/choose_one.tt
This layout set renders a select element with the available values as options.

See Reaction::Class for authors.

See Reaction::Class for the license.