Entries for month: January 2010
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.
Hi All,
I was working on migrating our project from Coldfusion 8 to Coldfusion 9. As CF9 use ExtJs 3.1 for ajax library I face lots of problem during migration. One of them is adding minimize button on cfwindow. In one of my cfwindow have minimize button to colapse cfwindow, now ExtJs 3.x have different structure than ExtJs 1.1 it wasn't working in ColdFusion 9. But this time I was really lucky, CF 9 (actually ExtJs 3.x) has make this really easy to add collapsible button on window title bar.
We need to get object on CFWINDOW using ColdFusion.Window.getWindowObject and make collapsible property to true and you will minimize button on window header.
Below is Javascript code.
objWin = ColdFusion.Window.getWindowObject("myWin");
objWin.collapsible = true;
ColdFusion.Window.show("myWin");
Recent Comments