1 package Reaction::UI::Widget::Field::Mutable::HiddenArray;
3 use Reaction::UI::WidgetClass;
5 #move this to a normal list and let the hidden part be decided by the template..
6 use namespace::clean -except => [ qw(meta) ];
7 extends 'Reaction::UI::Widget::Field::Mutable';
11 implements fragment hidden_list {
12 render hidden_field => over $_{viewport}->value;
15 implements fragment hidden_field {
16 arg field_value => $_;
19 __PACKAGE__->meta->make_immutable;
28 Reaction::UI::Widget::Field::Mutable::HiddenArray
32 See L<Reaction::UI::Widget::Field::Mutable>. This renders a list of values
33 as a series of hidden fields to transport them across forms.
39 Renders C<hidden_field> over the array reference stored in the viewpoint's
44 Sets the C<field_value> argument to the current topic argument C<_>.
48 renders fragment C<item> over the values of 'value' arrayref
52 C<content> is $_{_} / $_ (current item in the 'value' array)
58 share/skin/base/layout/field/mutable/hidden_array.tt
60 Provides a C<hidden_field> layout that renders a hidden input element.
64 See L<Reaction::Class> for authors.
68 See L<Reaction::Class> for the license.