Ext JS - Learning Center

Manual:Resources:ColdFusion

From Learn About the Ext JavaScript Library

Jump to: navigation, search

ColdFusion

Welcome to the Ext & ColdFusion page. The idea is to have a page that will allow CF programmers to create a manual to help others integrate Ext with CF.

Debugging

The CF debugging info can certainly mess with your Ext pages. You can use

<cfsetting showdebugoutput="no">

to suppress debugging info if you have the CF debugger turned on in your test environment but dont want it to affect your Ext pages.

The use of the Firefox extention Firebug is also highly recommended. You can, for example, see the page headers and view any CF errors that might occur on the server pages that provide data for your Ext components.

You might also want to check out Coldfire - an extention to Firebug that displays the CF debugging output in Firebug instead of on the page itself.

Examples

A tree and portal example with sample files: Tree and Portal

A FormPanel that allows you to load a record, edit the data and submit the form back to the server using JSON: Sample in forum

A technique for using CF to return json that is in the format required by the various Ext components: Sample in forum

A discussion of passing data and metadata (i.e. grouping, column models, store configs, etc) from Coldfusion 8 can be found here. This also includes a couple of javaScript functions to convert the returned metadata/data into a working grid, and some Coldfusion code showing and example of how to create the metadata.

  • This page was last modified on 5 August 2009, at 15:56.
  • This page has been accessed 6,314 times.