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