| Reaction documentation | view source | Contained in the Reaction distribution. |
Reaction::UI::Widget::Field::Mutable::ChooseMany - Choose a number of items
See Reaction::UI::Widget::Field::Mutable
This needs a refactor to not be tied to a dual select box, but ENOTIME
Renders the hidden_value fragment to store the currently selected values either once
for every item in the viewport's current_value_choices (with the field_name argument
set to the viewport's event id for value. Or, if no current values exist, uses the
no_current_value event id from the viewport and sets the topic argument _ to 1.
Sets event_id_remove_values to the viewport's event id for remove_values and renders
the value_option fragment over the viewport's current_value_choices.
Sets event_id_add_values to the viewport's event id for add_values and renders
the value_option fragment over the viewport's available_value_choices.
Sets the option_name argument to the current topic argument's name key and the
option_value to the current topic argument's value key.
renders available_values, action_buttons, selected_values and current_values
share/skin/base/layout/field/mutable/choose_many.tt
This layout set provides a table containing two lists separated by action buttons that allow the user to add values from the available list to the selected list.
share/skin/default/layout/field/mutable/choose_many.tt
Same as in the base skin, except that after each action button a br element will
be rendered.
See Reaction::Class for authors.
See Reaction::Class for the license.
| Reaction documentation | view source | Contained in the Reaction distribution. |