CFAjax

techscreencast.com
(Quality Technical Screencast)
Coldfusion Projects

Release Notes : July 2nd 2005

  • Implemented the new DWR libraries.
  • Added javascript escaping
  • Fixed issue with CF debugging on
  • Simplified javascript return data from coldfusion
  • Now CFList and Array can be returned back from CF and used in html dropdown list
  • Fixed issue with passing blank parameter
  • Added Example on how to populate key and value attribute of dropdown list
  • Added Yahoo RSS feed reader application
  • Added CFAjax Installation utility


Migrating from CFAjax 1.1   TO   CFAjax 1.2

If you are currently using CFAjax 1.1 and are planning to upgrade to 1.2, there are few minor changes that you will have to implement to your existing code base. Changes are fairly minor and can be done via global find and replace, but if you install the new library without making the changes your current code base will start failing.

Following is the list of all the changes that has to be done.

  • All the instances of DWREngine._urlBase should be replaced by _cfscriptLocation
  • DWRUtil.fillList should be replaced by two calls DWRUtil.removeAllOptions AND DWRUtil.addOptions
  • DWRUtil.clearChildNodes should be replaced by DWRUtil.removeAllRows
  • DWRUtil.addRows should be replaced by DWRUtil.drawTable
  • DWREngine.execute syntax has changed look at the new example pages.