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 <[email protected]>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 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 > > _______________________________________________ > List: [email protected] > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: > http://www.mail-archive.com/[email protected]/ > Dev site: http://dev.catalyst.perl.org/ > >
_______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
