The demo.cfm has this at the top and then the rest is the same cfm code <head><script type="text/javascript">/* <![CDATA[ */_cf_loadingtexthtml="<img alt=' ' src='/CFIDE/scripts/ajax/resources/cf/images/loading.gif'/>"; _cf_contextpath=""; _cf_ajaxscriptsrc="/CFIDE/scripts/ajax"; _cf_jsonprefix='//'; _cf_clientid='235E1C59C699DA256BA5C27C5890D98B';/* ]]> */</script><script type="text/javascript" src="/CFIDE/scripts/ajax/messages/cfmessage.js<http://localhost:81/CFIDE/scripts/ajax/messages/cfmessage.js> "></script> <script type="text/javascript" src="/CFIDE/scripts/ajax/package/cfajax.js"> </script>
<script type="text/javascript">/* <![CDATA[ */ ColdFusion.Ajax.importTag('CFAJAXPROXY'); /* ]]> */</script> <script type="text/javascript">/* <![CDATA[ */ var _cf_proxy=ColdFusion.AjaxProxy.init('/resources/proxy.cfc','proxy'); _cf_proxy.prototype.getAllConferencePresentations=function(tag_id,year) { return ColdFusion.AjaxProxy.invoke(this, "getAllConferencePresentations", { tag_id:tag_id,year:year});}; /* ]]> */</script> On Wed, Sep 12, 2012 at 12:11 PM, Greg Morphis <gmorp...@gmail.com> wrote: > "This request has no response data available" > That's for the proxy.cfc file > > > On Wed, Sep 12, 2012 at 12:07 PM, Andrew Scott <andr...@andyscott.id.au>wrote: > >> >> But what is in the response tab Greg? >> >> -- >> Regards, >> Andrew Scott >> WebSite: http://www.andyscott.id.au/ >> Google+: http://plus.google.com/113032480415921517411< >> http://plus.google.com/108193156965451149543> >> >> >> >> On Thu, Sep 13, 2012 at 3:04 AM, Greg Morphis <gmorp...@gmail.com> wrote: >> >> > >> > This is what's in the proxy.cfc in the network tab.. >> > >> > >> > 1. Request URL: >> > >> > >> > >> http://localhost:81/resources/proxy.cfc?method=getAllConferencePresentations&returnFormat=json&argumentCollection=%7B%22tag_id%22%3A0%2C%22year%22%3A2012%7D&_cf_nodebug=true&_cf_nocache=true&_cf_clientid=235E1C59C699DA256BA5C27C5890D98B&_cf_rc=0 >> > 2. Request Headersview source >> > 1. Referer: >> > http://localhost:81/resources/demo.cfm?reset=1&cfdebug=1 >> > 2. User-Agent: >> > Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like >> > Gecko) Chrome/21.0.1180.89 Safari/537.1 >> > 3. Query String Parametersview URL encoded >> > 1. method: >> > getAllConferencePresentations >> > 2. returnFormat: >> > json >> > 3. argumentCollection: >> > {"tag_id":0,"year":2012} >> > 4. _cf_nodebug: >> > true >> > 5. _cf_nocache: >> > true >> > 6. _cf_clientid: >> > 235E1C59C699DA256BA5C27C5890D98B >> > 7. _cf_rc: >> > 0 >> > >> > >> > >> > On Wed, Sep 12, 2012 at 11:57 AM, Andrew Scott <andr...@andyscott.id.au >> > >wrote: >> > >> > > >> > > In Chrome, bring up the developer tools, then before you run the page, >> > > select network. Then when the call is made back to the server, you >> should >> > > see it in this list. I usually clear this list, so that the call is at >> > the >> > > top. But when it is listed you just click the call, and you should see >> > > options like response. It is that tab that would show you the >> information >> > > that ColdFusion is returning. >> > > >> > > >> > > -- >> > > Regards, >> > > Andrew Scott >> > > WebSite: http://www.andyscott.id.au/ >> > > Google+: http://plus.google.com/113032480415921517411< >> > > http://plus.google.com/108193156965451149543> >> > > >> > > >> > > >> > > On Thu, Sep 13, 2012 at 2:54 AM, Greg Morphis <gmorp...@gmail.com> >> > wrote: >> > > >> > > > >> > > > I use both Chrome and Firebug, can you tell me what or where to >> look in >> > > > Chrome Dev Tools to get you guys the information needed to help? >> > > > Thanks >> > > > >> > > > >> > > > On Wed, Sep 12, 2012 at 11:51 AM, Andrew Scott < >> > andr...@andyscott.id.au >> > > > >wrote: >> > > > >> > > > > >> > > > > I haven't used firebug in a long time, as I use Chrome now. But >> from >> > > > memory >> > > > > you should be able to see from one of the tabs, the actual remote >> > call >> > > > back >> > > > > to the server. If you click on this call, it should show you what >> has >> > > > been >> > > > > returned, as well as what is passed to the server via its headers. >> > > > > >> > > > > Also just because the query is working, doesn't mean the callback >> is. >> > > For >> > > > > example lets look at what the call back offers, and unless you are >> > > > > doing asynchronous calls, I wouldn't even worry about the >> callback. >> > But >> > > > the >> > > > > callback if you read the documentation, takes a JSon string an >> > returns >> > > or >> > > > > passes it to the callback as a Javascript representation. >> > > > > >> > > > > So that would begin to indicate that the data being returned is >> not >> > > JSon, >> > > > > or is a malformed JSon string. Which would also throw an error >> when >> > you >> > > > try >> > > > > to use it the way you are. >> > > > > >> > > > > -- >> > > > > Regards, >> > > > > Andrew Scott >> > > > > WebSite: http://www.andyscott.id.au/ >> > > > > Google+: http://plus.google.com/113032480415921517411< >> > > > > http://plus.google.com/108193156965451149543> >> > > > > >> > > > > >> > > > > >> > > > >> > > > >> > > >> > > >> > >> > >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:352536 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm