I gave a presentation titled "Introductionto Ajax Features in ColdFusion 8" at the Syracuse ColdFusion User Group meeting this week. In the presentation, I covered the following.
- The basic layout elements that are used with Ajax
- Ajax Goodies – A couple smal small features in CF8 with big impact.
There is also a sample application that shows an employee management database interface created using all CF8 Ajax – no page reloads.
View the presentation content here…
- Presentation (done with CFPRESENTATION, another CF8 feature)
- Code Samples
Download all the code, including the presentation code …
- Full Download of Samples, Sample Application, and Presentation
NOTE: In order to run the samples on your server, you will need ColdFusion 8. A couple of the samples, including the full application, require MySQL (or another database). Run the ajaxpreso.sql file (included) on your MySQL database and set up a CF DSN called 'ajaxpreso'. The tables aren't very complicated – if you run MS SQL, just look at the .sql file and you'll see how the tables are set up. You can set those up manually.
6 Replies to “Ajax Features in ColdFusion 8”
Thanks for this! Some of these samples explain things that Adobe left out of all their docs. This is a big help as I learn how to make all this stuff work. Are all the ColdFusion.Layout functions documented somewhere?
I ahve seen numerous examples in cf8 ajax features but not the logic i have mentioned above.
Any advice or suggesstion wil really help…
You should be able to accomplish this using the ColdFusion.navigate function like this:
Just call it like this:
Docs on ColdFusion.navigate are here:
Hey thanks a lot…I just printed my own name wrong………..I am getting the error ColdFusion is not defined…
My code is in inetpub/wwwroot/…
I just put the cfwindow tag…………..its working now………Is there anyway I can make it work without using the cfwindow tag