Enumerating with Ext.js

Categories: Javascript

One of the features of the prototype library that I like to use is the Enumerable class.  Although highly debatable in regards to the legitimate necessity for such class, I like the simplicity and beauty of using Prototype’s enumerable class.

So, when using Ext as a base library (not using the Prototype adapter) for JavaScript DOM manipulation I looked into the enumeration methods available, such as Ext.each().  Here is a quick overview of how I used Ext.each to traverse members of a collection of HTML nodes.  I decided to split this up into main topics; first I will talk about why I like to use the enumerable class, and then show you a simple example of using the Ext.each() method.

Read More

Set cfwindow title from cfgrid

Categories: ColdFusion, ColdFusion 8, Ext, Javascript

If you are using ColdFusion 8’s <cfgrid> tag for a CRUD interface you might be utilizing the editable grid feature or you might be utilizing the <cfwindow> tag.  Because of some of the limitations of inline editing, such as the lack of a rich text editor, I am using <cfwindow> for a project and here is how I am setting the title programmatically from the <cfgrid> binding.

Read More

CF8 determining if request is Ajax

Categories: AJAX, ColdFusion, ColdFusion 8, Ext, Javascript, Web2.0

Have you ever wanted to know if a request is coming from an Ajax call or from a standard GET/POST from the browser when using the ColdFusion 8 Ajax functionality?

Read More

Ext.CFC CFUG Presentation

Categories: ColdFusion, Ext

For anyone interested, here are the slides from my brief presentation today at the ColdFusion User Group of Central New York on the Ext.cfc that abstracts Ext’s gridPanel functionality, including the ability for grouping by columns.
Read More

Ext.CFC grid on Ext 2.x

Categories: ColdFusion, ColdFusion 8, Ext, Web2.0

I will be giving a brief presentation at the local ColdFusion User Group meeting tomorrow on my Ext.CFC that implements the basic features of ColdFusion 8’s <CFGRID> and associated tags.  After releasing the inital CFC I began working on upgrading to the implementation to using the latest Ext 2.x - which required some minor changes.  I have also completed the basic implementation of an editable grid, but want to finish the rest of the form controls available.  So, here is the Ext.CFC upgraded to Ext 2.x with grouping ability.

Read More

AIR 1.0 and Ext 2.0.2 launched

Categories: AIR, Adobe, Ext

As I am sure you have probably already heard, the official AIR 1.0 was released, along with an update to the Ext JS framework to work with the AIR application sandbox.

Read More

CFDocs on AIR

Categories: AIR, Adobe, ColdFusion, Ext

I wanted to learn what Adobe AIR was all about, so I created an AIR application with the ColdFusion 8 documentation that utilizes the Ext 2.x library. The application allows you to easily view and search the ColdFusion 8 documentation.  Best of all, no need to be online - everything is stored locally in the sqlite database - so it runs extremely fast. There are still a couple of minor bugs, and I am hoping to make some future improvements to the application, so be sure to check back.

Read More

Ext 2.0 IDE

Categories: Ext, Javascript

In case you missed Jack’s post, check it out: IDEs and tools for Ext JS 2.0.  He goes over several options that developers have when it comes to using an IDE to streamline their Ext 2.x coding.

Read More

ColdFusion 8 Ext adapter

Categories: ColdFusion 8, Ext

One of my primary frustrations with the ColdFusion 8 wrappers for Ext is the inability to specify your adapter.  Why must I be forced to use YUI?

Read More

CFGRID without CF8: Ext.CFC

Categories: ColdFusion 8, Ext, Javascript

A while back I decided that it would be cool to write an Ext CFC that would perform all most of the interfacing between ColdFusion and the Ext JS library.  This was so long ago, that I don’t even remember when I started working on the project in my free time.   I looked at the created date of the file, and it looks like I started this on April 17, 2007 (which might have been before Adobe announced that CF8’s <CFGRID> was to use the Ext library).  Anyways, a fellow ColdFusion programmer, Isaac Sunkes, was asking about using the Ext library without CF8, which brought back the memories of working on this CFC.  So, without further ado…

Read More