Looks like there is no method to do this from what I can tell but if you really needed to do it this way you could probably just de-serialize it yourself by looking at the raw content with $c->req->body http://search.cpan.org/~bobtfish/Catalyst-Runtime-5.80029/lib/Catalyst/Request.pm#$req-%3Ebody . But that’s probably way more work than doing some of the suggestions mentioned by others like having the position specifically set in the post.
Thanks, ------------------------------------------ Ali Mesdaq (CISSP, GIAC-GREM) Sr. Security Researcher Websense Security Labs http://www.WebsenseSecurityLabs.com<http://www.websensesecuritylabs.com/> ------------------------------------------ From: will trillich [mailto:will.trill...@serensoft.com] Sent: Monday, December 27, 2010 8:52 AM To: Catalyst Subject: [Catalyst] receiving form-elements in sequence...? Quick question: how do we determine the sequence of submitted form elements? Background: we've got several data-rows that we're going to let the user reorder via Javascript drag-and-drop. Looking in $c->req->params, being a hash, gives us all elements, but no clue as to which item is first, which is next, which is last. So in case the opening line above isn't quite the right question, how do we submit a new sequence of rows via $c->req? This is probably a simple one, but we haven't found the $c->req->[sequenced-form-items] method yet (gotta be available via Catalyst::Request, I hope). Pointers gladly welcomed. Thanks! -- Failure is not important. How you overcome it, is. -- Nick Vujicic Click here<https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg==> to report this email as spam. Protected by Websense Hosted Email Security -- www.websense.com
_______________________________________________ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/