Welcome Guest, Not a member yet? Register   Sign In
how do i pass an object or array to controller function
#1

[eluser]Salvo P[/eluser]
i have a view which has displays a result set (contained in an object array which was correctly passed from a controller). I have an anchor on the page to show the data in another view (i.e. as locations plotted on google maps).

So the anchor links to another controller function which then does the appropriate prep and calls the appropriate view with the same resultset

But how do i get my resultset to the new contoller? If I append it to the controller functions URL in the anchor declaration, all the controller function recieves in the parameter is the word 'array', not the contents.

Am I missing something obvious? Surely I don't have to re-generate my result set in the new controller, which is processer intensive? And I couldn't anyway without recapturing the users original input that was used to create the result set.

Help appreciated.


Messages In This Thread
how do i pass an object or array to controller function - by El Forum - 12-26-2010, 11:46 AM
how do i pass an object or array to controller function - by El Forum - 12-27-2010, 01:07 AM
how do i pass an object or array to controller function - by El Forum - 12-27-2010, 04:05 AM
how do i pass an object or array to controller function - by El Forum - 12-27-2010, 05:01 AM
how do i pass an object or array to controller function - by El Forum - 12-27-2010, 05:34 AM
how do i pass an object or array to controller function - by El Forum - 12-27-2010, 05:44 AM
how do i pass an object or array to controller function - by El Forum - 12-27-2010, 06:07 AM
how do i pass an object or array to controller function - by El Forum - 12-27-2010, 07:04 AM
how do i pass an object or array to controller function - by El Forum - 12-27-2010, 07:07 AM
how do i pass an object or array to controller function - by El Forum - 12-27-2010, 07:17 AM
how do i pass an object or array to controller function - by El Forum - 12-27-2010, 08:04 AM
how do i pass an object or array to controller function - by El Forum - 12-28-2010, 06:07 AM
how do i pass an object or array to controller function - by El Forum - 12-28-2010, 08:55 AM
how do i pass an object or array to controller function - by El Forum - 12-29-2010, 02:01 AM
how do i pass an object or array to controller function - by El Forum - 12-29-2010, 03:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB