tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raulmt <rau...@gmail.com>
Subject Arrays in a @RequestParameter
Date Tue, 04 Jan 2011 19:00:41 GMT


I've been trying to receive an array from client side JavaScript
(specifcally a sortable serialization, like the one in Scriptaculous) with
the @RequestParameter annotation, but apparently it cannot handle arrays

I can retrieve these params with 

String positions = request.getParameters("newPositions[]");

but it would be nice to have an event handler like

Object onUpdatePositions(@RequestParameter("newPositions[]") String[]
newPositions) {

Am I missing something or it just cannot be done? Is it planned in a future
version? Should I file an issue for this?

View this message in context: http://tapestry-users.832.n2.nabble.com/Arrays-in-a-RequestParameter-tp5889775p5889775.html
Sent from the Tapestry Users mailing list archive at Nabble.com.

To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org

View raw message