tracker issue : CF-3039997

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 79960:In ColdFusion 9, ColdFusion

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Ari-Ville Fernelius / Ari Fernelius (Fernis)

Created: 09/14/2009

Components: AJAX, Plumbing

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:

+1 vote. Needs to be reverted to how it worked in CF8. (So this issue NEEDS TO BE REOPENED). -- Adam
Vote by External U.
22871 | November 10, 2011 07:03:04 PM GMT
This bug has been voted..
Vote by External U.
22872 | November 10, 2011 07:03:05 PM GMT
Please fix this issue... we can't migrate to 9 without a ton of fixing.
Vote by External U.
22873 | November 10, 2011 07:03:06 PM GMT
I'm still waiting to purchase CF9 until this issue is fixed. I've used the hbox and vbox in many applications and I certainly don't want to spend hours fixing code that was usable and recommended in CF8. I have money in my budget and I will definitely purchase CF9 once this issue is resolved. Please re-open this issue and resolve!
Vote by External U.
22874 | November 10, 2011 07:03:07 PM GMT
I think the mean reason is because the id given to the generated div have changed in cf9 The following code that was working in CF8 <cflayout type="vbox"> <cflayoutarea name="ddd">fdfsdf</cflayoutarea> <cflayoutarea name="tree">toto<a href="javascript:ColdFusion.navigate('http://www.yahoo.fr">http://www.yahoo.fr','tree')">click here</a></cflayoutarea> </cflayout> has to be replaced by : <cflayout type="vbox"> <cflayoutarea name="ddd">fdfsdf</cflayoutarea> <cflayoutarea name="tree">toto<a href="javascript:ColdFusion.navigate('http://www.yahoo.fr','cf_layoutareatree')">gfgf</a></cflayoutarea> </cflayout> in coldfusion 9
Vote by External U.
22875 | November 10, 2011 07:03:08 PM GMT
Please fix this. It is a bug. For consistency it should function with the coldfusion.navigate function
Vote by External U.
22876 | November 10, 2011 07:03:09 PM GMT