This works:
<cfcomponent>
<cffunction name="getXX" returntype="any" access="remote"
returnformat="json">
<cfreturn ["a","b"]>
</cffunction>
</cfcomponent>
So try getting that working to begin with. What version of OpenBD are
you using?
Yes, you should just see JSON formatted.
Rob wrote:
Thanks gents,
When I call from the browser, I get the same response - a WDDX packet
(renders so tantalizing in JSON in the browser).
Changing the output from true to false and back doesn't seem to have
any effect on the results.
I have other calls to CFC from JavaScript - using Rob Gonda's ajaxCFC,
and they return non-wddx responses (I don't understand all that he is
doing under the DWREngine).
What should I see in the response, just the JSON formatted string?
--
Open BlueDragon Public Mailing List
http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon
official manual: http://www.openbluedragon.org/manual/
Ready2Run CFML http://www.openbluedragon.org/openbdjam/
mailing list - http://groups.google.com/group/openbd?hl=en