Entries Tagged as 'ColdFusion 9'
Nesting of CFLAYOUT creating problem with ColdFusion.navigate
ColdFusion , ColdFusion 9 3 Comments »Today I came across problem with CFLAYOUT tag and ColdFusion.navigate problem. It was working in ColdFusion 8 but same code doesn't work with ColdFusion 9. Actually when I use simpler version it work fine in both 8 and 9 but when I use little complex CFLAYOUT then it doesn't work with CF9. Let me show you both example which work/not work with CF9 respectively.
If you want to updgrade from Coldfusion 8 to Coldfusion 9 on your server then think twice before doing this. If you are working on big project where you have widly used coldfusion ajax component and custumize and play with ExtJs function for enhance your ajax functionality then this will be nightmare for you to migrating to Coldfusion 9. Main reason behind this is ColdFusion 8 is using ExtJs 1.X as ajax/javascript function and in Coldfusion 9 Adobe has used ExtJs 3.0. Below is quotes from ExtJs site for migration from Ext 1 to 2.
"Unfortunately, because of the architectural changes in the new version of Ext, it was not possible to maintain full backwards compatibility. While the Overview will help get you oriented with the new code base, this guide will provide the practical steps needed to migrate your code as painlessly as possible."Means you may need to look at your all pages where you have applied enhance ajax functionality and this what I am doing right now.I am playing with cfgrid, cflayout and cfwindow which I have widly used in our system.
I will keep posting about migrating from CF 8 to CF 9 for different ajax component.
I really impressed with CFMAP tag in ColdFusion 9. It eliminates javascript code for google map api. Now google map integration is so easy that will finish in just two steps 1. Get google map API key for your domain. 2. Use CFMAP tag and render map in HTML page.
After getting API key we need to tell coldfusion about our MAP API key either by giving in cfajaximport tag or application.cfc file. You can specify api key in cfajaximport tag if you are want to use this in single page only but if planning to use google map in site wide then better idea to specify in Application.cfc. Below are both way to specify key.
<cfajaximport params="#{googlemapkey='ABQIAAAABvdd0PabCkL4zGc4TF1t6hT2yXp_ZAY8_uf....'}#" />
OR
<cfset this.googlemapkey="ABQIAAAABvdd0PabCkL4zGc4TF1t6hT2yXp_ZAY8_uf.....">
Recent Comments