Skip to main content
Inspiring
October 15, 2009
Question

CF 9, use CF 8 Ajax Library

  • October 15, 2009
  • 1 reply
  • 972 views

We host an application that heavily uses the CF 8 Ajax features, upgrading to 9 on a test server it looks like there is a problem with almost every control (tabs, windows, binding). Is there an easy way to make it use the CF 8 Ajax libraries as a stopgap until we can work out the bugs?

    This topic has been closed for replies.

    1 reply

    Inspiring
    October 15, 2009

    It sounds like CF9 updated its Ext library and could/does cause problems with code that ran in CF8. Check Ray Camden's post from this morning on Ajax stuff in CF9:
    http://www.coldfusionjedi.com/index.cfm/2009/10/15/Warning-to-Ajax-uses-in-ColdFusion-9

    Inspiring
    October 20, 2009

    Update:

    Tried fixing by myself and using blogs about it including

    http://samfarmer.instantspot.com/blog/2009/08/14/Use-cfajaximport-to-help-with-CF8-to-CF9-migration

    This does not work using some pretty standard functionality, IE they will *try* to work like CF8, but it ultimately fails (for example, tabs break and the "name" attribute replaces the title attribute for some reason, they also default to displaying an "X" to close the tab)

    I really dont understand why adobe didn't explicitly tell us when CF 8 came out something to the effect of "Only use these librarys for prototyping, because we are going to change the librarys with no backwards compatibility in the future", hah! I would really think there should be a setting in the CF Admin for "Use Coldfusion 8 Ajax Library"