This content has been marked as final. Show 3 replies
So either nobody knows how to do this, or it isn't possible to send this to flex through remoting. Does anybody know how to send two data types over the same return remoting call? I know I can just set my string as another column in the query but this doesn't seem to elegant.
Thanks for any and all help,
So now I changed my code to the following in CF:
<cfset Type = "MyString">
<cfset ReturnArray = ArrayNew(1)>
<cfset ReturnArray = StructNew()>
<!--- set up query GetRegions --->
<cfset ReturnArray = GetRegions>
<cfset ReturnArray = Type>
<!--- Return Array --->
Now in flex I have the following dataHandler Function:
Query_Filter = new ArrayCollection(event.result as Array);
Now I set up a List box with Query_Filter as the dataprovider but the results aren't showing correctly. The first item in the list box is displayed as [object, Object], [object, Object] and the second item is my String.
Does anybody know how to break up the query to a variable and the string to its own variable in the dataHandler function.
Thanks for any and all help
I found the following website saying that this is somethi9ng they are working on for CF 9 so apparently you can't do this directly.