Copy link to clipboard
Copied
Prior to CF8 you would be using CFAjax or AjaxCFC or rolling your own.
http://www.indiankey.com/cfAjax/
http://www.robgonda.com/blog/projects/ajaxcfc/
Your on your own for rolling your own.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
cfajaxproxy is great.. But it is only available on CF8.. We are running CF 7. So, how would you do it in that case?
thanks,
Ros
Copy link to clipboard
Copied
Prior to CF8 you would be using CFAjax or AjaxCFC or rolling your own.
http://www.indiankey.com/cfAjax/
http://www.robgonda.com/blog/projects/ajaxcfc/
Your on your own for rolling your own.
Copy link to clipboard
Copied
Hi Ian,
One more question for you regarding CFAjax.. Can 2 parameters be passed to the DWREngine._execute?
All the examples that I have found only have one parameter. I figure the back up option would be to concat the variables into one string to pass them to the engine and separate them in the CFfunction, but I did not want to go down that path if there is a better way.
Thanks,
Ros
Copy link to clipboard
Copied
OK, it all works great! 🙂
For those that may be looking for this answer, multiple parameters can be passed to the DWREngine._execute command by a comma separator.
DWREngine._execute(_cfscriptLocation, null, doQuery, Par1, Par2, Par3,...,doQueryResult);
Where Par1, Par2, Par3 are the parameteres being passed to the doQuery cffunction.
Thanks for everyone's help.
Ros
Copy link to clipboard
Copied
quote:
Originally posted by: Rouset
I have a set of data, that is being collected and passed via javascript. So, my thought is to pass those data values from js to Coldfusion to write them back to the database. But, let me know if there is a better way to do that.
Thanks,
Ros