Skip Menu |
 

This queue is for tickets about the Catalyst-TraitFor-Request-Params-Hashed CPAN distribution.

Report information
The Basics
Id: 84786
Status: new
Priority: 0/
Queue: Catalyst-TraitFor-Request-Params-Hashed

People
Owner: Nobody in particular
Requestors: christopher.causer [...] it.ox.ac.uk
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: New Feature: Nested arrays/hashes
Date: Mon, 22 Apr 2013 11:39:01 +0100
To: bug-Catalyst-TraitFor-Request-Params-Hashed [...] rt.cpan.org
From: Christopher Causer <christopher.causer [...] it.ox.ac.uk>
Download (untitled) / with headers
text/plain 773b
Hi, Thank you very much for providing this module, which is proving useful with my form submissions. One feature that I felt it lacked was the ability to allow nested parameters. For example <input name="records[$record_id][name]" /> <input name="records[$record_id][content]" /> Attached is a modified Hashed.pm which can hopefully do this. I cannot claim any credit for this. Much of it has been lifted from Rail's ActiveSupport and converted to Perl, but I hope people will find it useful. Many thanks again for this very useful module. -- Christopher Causer IT Services, University of Oxford Network Support and Development Officer 13 Banbury Road, Oxford, OX2 6NN (01865) 2 73244 www.it.ox.ac.uk
Download Hashed.pm
text/x-perl 6.1k

Message body is not shown because sender requested not to inline it.



This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.