Commit | Line | Data |
---|---|---|
8f19d042 | 1 | package Reaction::UI::Widget::Field::HiddenArray; |
2 | ||
3 | use Reaction::UI::WidgetClass; | |
4 | ||
5 | class HiddenArray is 'Reaction::UI::Widget::Field', which { | |
6 | ||
9de685fc | 7 | field renders [ item over func('viewport', 'value') ]; |
8 | item renders [ string { $_ } ]; | |
9 | ||
8f19d042 | 10 | }; |
11 | ||
12 | 1; | |
13 | ||
6ab43711 | 14 | __END__; |
8f19d042 | 15 | |
5a1a893e | 16 | =head1 NAME |
8f19d042 | 17 | |
5a1a893e | 18 | Reaction::UI::Widget::Field::HiddenArray |
8f19d042 | 19 | |
5a1a893e | 20 | =head1 DESCRIPTION |
8f19d042 | 21 | |
5a1a893e | 22 | See L<Reaction::UI::Widget::Field> |
8f19d042 | 23 | |
5a1a893e | 24 | =head1 FRAGMENTS |
8f19d042 | 25 | |
5a1a893e | 26 | =head2 field |
8f19d042 | 27 | |
5a1a893e | 28 | renders fragment C<item> over the values of 'value' arrayref |
8f19d042 | 29 | |
5a1a893e | 30 | =head2 item |
31 | ||
32 | C<content> is $_{_} / $_ (current item in the 'value' array) | |
33 | ||
34 | =head1 AUTHORS | |
35 | ||
36 | See L<Reaction::Class> for authors. | |
37 | ||
38 | =head1 LICENSE | |
39 | ||
40 | See L<Reaction::Class> for the license. | |
8f19d042 | 41 | |
42 | =cut |