While the DWR engine is the same, the JS return is generated
differently. ajaxCFC uses the native CFWDDX tag to render the CF
object as JS and frankly this makes more sense than the hoops CFAJAX
jumps through.

The end result may be the same - I've never checked but I will eventually.

On 6/24/06, Josh Nathanson <[EMAIL PROTECTED]> wrote:
> My understanding is that the cfajax/ajaxcfc engine will return whatever you
> return from CF, but converted into JS.  So if your CF function returns a
> string, it will be converted into a JS string.  If your CF returns a query,
> it converts that into JS array of objects which mimics a recordset.  So
> recordset[0].column in your returned JS is equivalent to the first row,
> fieldname "column" of your returned cf query.
>
> Here's a very quick and straightforward explanation of the return types, I
> think this would apply to ajaxCFC as well since the js engine is essentially
> the same.
>
> http://www.indiankey.com/cfajax/wiki/ow.asp?CFAjaxReturnTypes

-- 
CFAJAX docs and other useful articles:
http://jr-holmes.coldfusionjournal.com/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244710
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to