Regarding my previous message, I managed to recreate the wddx serialization
problem I was experiencing. Run this code. It should show you what I was
talking about.
I'll be reporting this using the wishlist form, of course. Just wanted to
post it in case anyone else was interested.
[cfscript]
// Fabricate a query
testQuery = querynew('age,gender,race');
queryaddrow(testQuery);
querysetcell(testquery, 'age', 12,1);
querysetcell(testquery, 'gender', 'Male',1);
querysetcell(testquery, 'race', 'Black',1);
maindata = structnew();
[/cfscript]
[cfdump var="#testQuery#"]
[!--- Turn query into structure---]
[cfloop index="i" list="age,gender,race"]
[cfset structinsert(mainData, i, testquery[i])]
[/cfloop]
[cfdump var="#maindata#"]
[cfwddx action="cfml2wddx" input="#maindata#" output="wddxdata"]
[cfdump var="#wddxdata#"]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4