more Widget updates. this breaks old-style templates, also changed how VPs behave...
[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   field renders [ item over func('viewport', 'value') ];
8   item  renders [ string { $_ } ];
9
10 };
11
12 1;
13
14
15 =for layout widget
16
17 [% field %]
18
19 =for layout field
20
21 [% item %]
22
23 =for layout item
24
25 <input type="hidden" name="[% name | html %]" value="[% content | html %]" />
26
27 =for layout label
28
29 =for layout message
30
31 =cut