aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Reaction/UI/Widget/Field/Mutable/HiddenArray.pm
diff options
context:
space:
mode:
authorgroditi <groditi@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2009-10-02 20:11:10 +0000
committergroditi <groditi@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2009-10-02 20:11:10 +0000
commitcfa0aa508979066893f1867e27da32372ba8acf2 (patch)
tree7489ec5fce11d39259cc09d8a11bdb3a3be15d55 /lib/Reaction/UI/Widget/Field/Mutable/HiddenArray.pm
parent9bb62506e33250989de0bbd80bdd182d9425e5c6 (diff)
parentb8da93ebed6c17a1919d7cde6b784181b5b6d2c8 (diff)
downloadreaction-cfa0aa508979066893f1867e27da32372ba8acf2.tar.gz
reaction-cfa0aa508979066893f1867e27da32372ba8acf2.zip
r31705@martha (orig r1240): edenc | 2009-09-28 20:19:59 -0400
made hidden array field use the value event instead of value_string r31706@martha (orig r1241): purge | 2009-10-02 04:51:59 -0400 allow redirect_to a url parameter r31707@martha (orig r1242): groditi | 2009-10-02 16:09:49 -0400 undo change allowing domain in redirect_to r31708@martha (orig r1243): groditi | 2009-10-02 16:10:38 -0400 cleanup of hard to read layout_args code
Diffstat (limited to 'lib/Reaction/UI/Widget/Field/Mutable/HiddenArray.pm')
-rw-r--r--lib/Reaction/UI/Widget/Field/Mutable/HiddenArray.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Reaction/UI/Widget/Field/Mutable/HiddenArray.pm b/lib/Reaction/UI/Widget/Field/Mutable/HiddenArray.pm
index e4e1c10..a65f3cb 100644
--- a/lib/Reaction/UI/Widget/Field/Mutable/HiddenArray.pm
+++ b/lib/Reaction/UI/Widget/Field/Mutable/HiddenArray.pm
@@ -11,6 +11,10 @@ implements fragment hidden_list {
};
implements fragment hidden_field {
+ # this needs to go here in order to override the field_name from
+ # Widget::Field::Mutable::Simple which defaults to value_string and does not
+ # make sense for HiddenArray
+ arg field_name => event_id 'value';
arg field_value => $_;
};