Re: Converting an AJAX response to coldfusion object

2009-11-20 Thread Developer MediaDoc
Thank you all kindly for your suggestions. I followed instructions on the Blog mentioned. cfinput type=button name=Download value=Download Registrants to MS Excel onClick=doDownload(); called this function: function doDownload() { var mygrid =

RE: Converting an AJAX response to coldfusion object

2009-11-19 Thread lists
Any remote call to a CFC will return WDDX (unless otherwise specified). You could serialize the JS object into JSON, then pass it to ColdFusion as a struct. -Original Message- From: Developer MediaDoc [mailto:skings...@media-doc.com] Sent: Thursday, November 19, 2009 9:32 PM To:

RE: Converting an AJAX response to coldfusion object

2009-11-19 Thread brad
a) if I don't specify returnFormat in my CFC, what format does cfgrid data come back as? (JSON, WDDX?). A naked call to a CFC usually returns WDDX. However, if you are binding to it with a cfgrid, returnformat=json is probably being added to the URL. b) how can I convert the javascript object

Re: Converting an AJAX response to coldfusion object

2009-11-19 Thread Azadi Saryev
see if this helps: http://www.coldfusionjedi.com/index.cfm/2007/9/4/Exporting-from-CFGRID Azadi Saryev On 20/11/2009 11:32, Developer MediaDoc wrote: Hi all, I am probably not using the correct 'language' here -- forgive me new to the AJAX world. I have a lovely cfgrid populated by