[Catalyst] receiving form-elements in sequence...?

Hernan Lopes hernanlopes at gmail.com
Mon Dec 27 18:31:48 GMT 2010

Thats not how you do it.
you should use javascript to create a hash, or array of IDs and positions
and then post that to your server.

On Mon, Dec 27, 2010 at 2:51 PM, will trillich
<will.trillich at serensoft.com>wrote:

> 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=
> next, which is last. So in case the opening line above isn't quite the ri=
> 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
> _______________________________________________
> List: Catalyst at 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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20101227/8fc49=

More information about the Catalyst mailing list