I don't even want to know what value that method would return.

mike 

-----Original Message-----
From: Raymond Camden [mailto:rcam...@gmail.com] 
Sent: Sunday, January 11, 2009 9:44 PM
To: cf-talk
Subject: Re: Is it possible to reference a cfc method using ajax?

Don't forget that in CF8, you can convert a result to JSON over the
wire. So if some CFC, let's call it, um, nose, had a method, pick, that
returned an array, if you did an Ajax call to

nose.cfc?method=pick&returnFormat=json

The returnFormat argument will tell the CFC to JSON encode the result.
So there is no need to write a "special" method for the Ajax call.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317757
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to