How to grab an array from another template with cfparam
I can't seem to get the cfparam to grab the array from another template. How exactly do i do this? Something like "<cfparam name="CMdata" default="0">" doesn't seem to work...
edit: <cfparam name="CMdata" type="array" default="#ArrayNew(1)#"> doesn't seem to work either...
edit edit: I lied...i think it is passing it but something is wrong with the array. I used cfdump to output the array, and it has a crap load of "[undefined array element]" which confuses me. I have to look further into it...
Found the problem. My stupid mistake. I put the variable that counts through the array in a loop that was inside the loop so it counted 27 then put the number in the array, so that made CMdata[1] not exist...
Bookmarks