I think they added "returnformat" and "queryformat" in ACF8. Also,
there is a less-documented "_cf_nodebug" which appears to be equivalent
to "__BDNODEBUG". Go figure on the consistency of naming convention;-)
On 1/5/2011 12:40 PM, Alan Williamson wrote:
To be honest, I had no idea the other engine even offered that
functionality.
Although I disagree with "returnformat" as a variable name, its too
likely to clash with other stuff. Usual convention is to _ them at least.
--
http://alan.blog-city.com/
------------------------------------------------------------------------
*From: * Carl Von Stetten <[email protected]>
*Sender: * [email protected]
*Date: *Wed, 05 Jan 2011 12:26:25 -0800
*To: *<[email protected]>
*ReplyTo: * [email protected]
*Subject: *[OpenBD] ReturnFormat when using CFCs via AJAX
I have an application I'm working on which will run under both ACF9
and OpenBD. One feature of this application uses jQuery to make AJAX
requests to a CFC. With ACF9, adding "returnFormat=JSON" to the query
string causes ColdFusion to return the CFC method's result in JSON
format. So I look in the OpenBlueDragon manual
<http://www.openbluedragon.org/manual/?/webservices_json> to make sure
this will work with OpenBD, and discover that instead of
"returnFormat", it uses "__BDRETURNFORMAT". Is there a reason why we
need to have a different parameter name in OpenBD than in ACF? The
same thing applies to returning queries - ACF uses "queryFormat" while
OpenBD uses "__BDQUERYFORMAT"
--
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
--
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
--
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