I have determined that the problem with cfsprydataset with JSON type is that it
fetches the CFC and sets the queryFormat (if you are getting a query) to type
row.
This makes your JSON look like this:
{"COLUMNS":["TITLE"],"DATA":[["The Tester"],[The Evil Man]]}
Now, what options would you add so that SPRY would actually work this out?
To me it seem that there is no way for this to work unless they change the
default of the sprydataset tag to queryformat=column when it calls the URL.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Enterprise web applications, build robust, secure
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290130
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4