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/

-----Original Message-----
From: Carl Von Stetten <[email protected]>
Sender: [email protected]
Date: Wed, 05 Jan 2011 12:26:25 
To: <[email protected]>
Reply-To: [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

Reply via email to