>>Do those 10 lines of code enable you to write different handlers
depending on the status code and success of the http call without any
fuss?

Better than that : they open a new window to display the CF error dump in case 
the called template caused an error.

 >>Do they translate common response formats into plain js objects for you?

If I need this, I have other functions to do it.
I also have a function to autamatically populate a dynamic <SELECT from a 
template that will produce all <OPTION tags.
This one adds 15 lines to the code, including 7 lines to workaround a bug in 
MSIE.

There are things my code do not check however:
- a tornado hit my server;
- the end user has an attack of scarlet fever...
- etc.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344680
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to