Well wulfshayde, I did consider that but I wasn't sure about it. I figured out a work around for now, but it isn't ideal. I would love to just be able to interface directly with the CFC, but the workaround I created for now doesn't allow me to do that.
What I am doing for now is I am sending the request from the form to a processing page which basically creates an instance of the cfc, runs the function and the function returns XML to processing page. From there that page writes the xml to a temporary XML file on the server and the page CFLOCATION's the process to the XML file. And it actually worked quite well. But that is kind of a clumpy (mickey mouse) way of doing it and I would prefer not. If CFAJAX can allow me to do it better I will definitely consider it.
I do have a few questions that I can't seem to gather from the website. How is it actually installed? Is it a bunch of CFCs? How do I access the various functions?
Main Topics
Browse All Topics





by: wulfshaydePosted on 2005-11-24 at 19:20:46ID: 15358864
If you're using coldfusion you should take a look at CFAjax... it's a solid project and I use it because I had similiar quirks with AJAX.
fajax/
Look here: http://www.indiankey.com/c
I have currently implemented it in our company extranet, makes things super! :)
Also you can return Coldfusion Structs and Arrays straight to the API and it will parse them and treat them as javascript objects and arrays. If you've gotten this far with AJAX, I'm confident that CFAjax should be a breeze for you. If you have any other q's give me a holler.