switch over to sub style from AUTOLOAD style (Widget transition)
[catagits/Reaction.git] / lib / Reaction / UI / Widget / Field / HiddenArray.pm
1 package Reaction::UI::Widget::Field::HiddenArray;
2
3 use Reaction::UI::WidgetClass;
4
5 class HiddenArray is 'Reaction::UI::Widget::Field', which {
6
7   fragment field [ item => over func('viewport', 'value') ];
8   fragment item  [ string { $_ } ];
9
10 };
11
12 1;
13
14 __END__;
15
16 =head1 NAME
17
18 Reaction::UI::Widget::Field::HiddenArray
19
20 =head1 DESCRIPTION
21
22 See L<Reaction::UI::Widget::Field>
23
24 =head1 FRAGMENTS
25
26 =head2 field
27
28 renders fragment C<item> over the values of 'value' arrayref
29
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.
41
42 =cut