aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Reaction/UI/Widget/Field/Mutable/HiddenArray.pm
diff options
context:
space:
mode:
authorphaylon <phaylon@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2009-02-16 02:40:11 +0000
committerphaylon <phaylon@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2009-02-16 02:40:11 +0000
commitf9b32c83550e273bec97c9be5b63079addd4846b (patch)
treec7bdd746379aa8bb3ffd1e2500d86daf32d3b8e0 /lib/Reaction/UI/Widget/Field/Mutable/HiddenArray.pm
parent63bb30b44346800078dc638dcc484828d89c2ad4 (diff)
downloadreaction-f9b32c83550e273bec97c9be5b63079addd4846b.tar.gz
reaction-f9b32c83550e273bec97c9be5b63079addd4846b.zip
widget documentation
Diffstat (limited to 'lib/Reaction/UI/Widget/Field/Mutable/HiddenArray.pm')
-rw-r--r--lib/Reaction/UI/Widget/Field/Mutable/HiddenArray.pm20
1 files changed, 19 insertions, 1 deletions
diff --git a/lib/Reaction/UI/Widget/Field/Mutable/HiddenArray.pm b/lib/Reaction/UI/Widget/Field/Mutable/HiddenArray.pm
index 0cecc5e..0b8cce7 100644
--- a/lib/Reaction/UI/Widget/Field/Mutable/HiddenArray.pm
+++ b/lib/Reaction/UI/Widget/Field/Mutable/HiddenArray.pm
@@ -29,10 +29,20 @@ Reaction::UI::Widget::Field::Mutable::HiddenArray
=head1 DESCRIPTION
-See L<Reaction::UI::Widget::Field>
+See L<Reaction::UI::Widget::Field::Mutable>. This renders a list of values
+as a series of hidden fields to transport them across forms.
=head1 FRAGMENTS
+=head2 hidden_list
+
+Renders C<hidden_field> over the array reference stored in the viewpoint's
+C<value>.
+
+=head2 hidden_field
+
+Sets the C<field_value> argument to the current topic argument C<_>.
+
=head2 field
renders fragment C<item> over the values of 'value' arrayref
@@ -41,6 +51,14 @@ renders fragment C<item> over the values of 'value' arrayref
C<content> is $_{_} / $_ (current item in the 'value' array)
+=head1 LAYOUT SETS
+
+=head2 base
+
+ share/skin/base/layout/field/mutable/hidden_array.tt
+
+Provides a C<hidden_field> layout that renders a hidden input element.
+
=head1 AUTHORS
See L<Reaction::Class> for authors.