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