I don't use CFAjax (or any other Ajax framework), but I do have a
stock library of Javascript functions I use to help with Ajax and DOM.

This library implements methods like httpGet and httpPost where I pass
a URL - I have a line in each that's commented out that I'll uncomment
to debug that looks something like this:

function httpGet(url, callbackReference) {
 //uncomment next line to debug
 //document.location.replace(url)

/* do the actual get */
}

That way, I can just uncomment a line in ajax.js and I'll be
redirected to the offending method.

Also, I typically write a CFCUnit test harness that uses <cfhttp> to
emulate Ajax calls so that I can test functionality w/o bothering with
the Javascript layer.

Man, Ajax is just a pain in the ass, I can't wait for Flex 2.0 to ship.

-Joe



On 2/13/06, Rick Root <[EMAIL PROTECTED]> wrote:
> Andy Matthews wrote:
> > There's been a discussion recently about error handling in CFAJAX. Arjun,
> > the developer, is rewriting some or all of the codebase and this is one of
> > the biggest additions.
>
> I guess now that I'm playing with ajax I'll get on the cfajax list ;)
>
> Thanks all
>
> Rick
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232138
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