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
option
value_choices
Additional varibles set: is_required - Boolean, self-explanatory
is_required
content is a dummy variable, but th additional variables v_value, v_name and is_selected are set
content
v_value
v_name
is_selected
Renders either option_is_required_yes or option_is_required_no depending on the viewport's value_is_required attribute.
option_is_required_yes
option_is_required_no
value_is_required
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.
option_is_selected_yes
option_is_selected_no
is_current_value
value
share/skin/base/layout/field/mutable/choose_one.tt
This layout set renders a select element with the available values as options.
select
See Reaction::Class for authors.
See Reaction::Class for the license.
To install Reaction, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Reaction
CPAN shell
perl -MCPAN -e shell install Reaction
For more information on module installation, please visit the detailed CPAN module installation guide.