Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Ari-Ville Fernelius / Ari Fernelius (Fernis)
Created: 09/14/2009
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: GMC 2009-09-04 / 258408
Priority/Frequency: Major / Unknown
Locale/System: English / Platforms All
Vote Count: 6
Problem:
In ColdFusion 9, ColdFusion.navigate does not work with CFLAYOUTAREAs when using syntax ColdFusion.navigate(url,container). The code example works in CF8 but not in CF9 GMC.As ColdFusion.navigate is essential when updating CFLAYOUTAREA contents, this seriously compromises code compatibility for many Ajax UI applications between CF8 and CF9. Using ColdFusion.navigate(url,container,callback,error,form) to post a form *seemed* to work, but I have not tested this thoroughly yet - just using code I already had written for CF8.
Method:
<cfajaximport tags="cfwindow,cflayout-border"><cfparam name="pageAction" default="init"><cfswitch expression="#pageAction#"><cfcase value="refreshRight"><cfoutput>#randRange(1000,9999)#</cfoutput></cfcase><cfdefaultcase><html><head></head><body><cfwindow name="myTestWindow" initshow="true"><cflayout type="hbox"><cflayoutarea name="layoutLeft"><cfoutput><a href="Javascript: ColdFusion.navigate(’test.layout.cfm?pageaction=refreshRight’,’layoutright2’)">Refresh</a></cfoutput></cflayoutarea><cflayoutarea name="layoutright2"><cfoutput>#randRange(1000,9999)#</cfoutput></cflayoutarea></cflayout></cfwindow></body></html></cfdefaultcase></cfswitch>
Result:
ColdFusion.navigate does not work with CFLAYOUTs using GET method
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3039997
External Customer Info:
External Company:
External Customer Name: Ari Fernelius
External Customer Email: 20AE60EB446303829920157F
External Test Config: 09/14/2009
Attachments:
Comments: