<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0">
			<channel>
			<title>ColdFusion Development Blog by Scott Bennett - AJAX</title>
			<link>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm</link>
			<description>Scott Bennett - The ColdFusion Guy&apos;s Blog on ColdFusion development.</description>
			<language>en-us</language>
			<pubDate>Fri, 24 May 2013 16:58:06 -0400</pubDate>
			<lastBuildDate>Thu, 17 Jul 2008 18:36:00 -0400</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>Scott@ColdFusionGuy.com</managingEditor>
			<webMaster>Scott@ColdFusionGuy.com</webMaster>
			
			<item>
				<title>Orange County CFUG Meeting Tonight</title>
				<link>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2008/7/17/Orange-County-CFUG-Meeting-Tonight</link>
				<description>
				
				At the Orange County ColdFusion Users Group (&lt;a href=&quot;http://www.occfug.org&quot; target=&quot;_blank&quot;&gt;www.occfug.org&lt;/a&gt;) meeting tonight, I will be presenting an overview on all the AJAX related features in ColdFusion 8. Then I will be going into detail on some of my favorite features and offer some tips on how to dig into the underlying Ext objects to find the solutions you need when your application requires more customized functionality than the default behaviors that were implemented in CF8.

So if you&apos;re in the Orange County area, come to &lt;a href=&quot;http://www.occfug.org/directions.cfm&quot; target=&quot;_blank&quot;&gt;Traveland USA&lt;/a&gt; tonight at 6:30 pm and join us. 
				</description>
				
				<category>AJAX</category>				
				
				<category>OCCFUG</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Thu, 17 Jul 2008 18:36:00 -0400</pubDate>
				<guid>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2008/7/17/Orange-County-CFUG-Meeting-Tonight</guid>
				
			</item>
			
			<item>
				<title>Workaround for CFInput DateField + CFDiv + Internet Explorer Glitch</title>
				<link>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2008/6/25/Workaround-for-CFInput-DateField--CFDiv--Internet-Explorer-Glitch</link>
				<description>
				
				A while back I blogged about a &lt;a href=&quot;http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2007/11/5/CF8-AJAX-Features-CFInput-TypeDateField--CFDiv---Internet-Explorer--Glitch&quot; target=&quot;_blank&quot;&gt;div layer positioning glitch&lt;/a&gt; that occurs in IE when you position a cfinput datefield above a cflayout or cfdiv generated div layer. This problem seems to be cause by the fact that in IE, a relative positioned element influences the stacking order of it&apos;s child-elements, which violates the &lt;a href=&quot;http://www.w3.org/TR/CSS21/visuren.html#z-index&quot; target=&quot;_blank&quot;&gt;CSS specification&lt;/a&gt;, but who really needs standards anyways right?

Well, I figured out a way to workaround it, and it&apos;s really stupid that I didn&apos;t think of it before. I kept trying (unsuccessfully) to write a JavaScript function that would find the layers and reposition them after the page loaded, when finally a light bulb went on in my head, and I came up with a much simpler solution.  [More]
				</description>
				
				<category>AJAX</category>				
				
				<category>JavaScript</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Wed, 25 Jun 2008 21:04:00 -0400</pubDate>
				<guid>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2008/6/25/Workaround-for-CFInput-DateField--CFDiv--Internet-Explorer-Glitch</guid>
				
			</item>
			
			<item>
				<title>CFWindow as Image onMouseOver Enlarger/Pop Up</title>
				<link>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2008/5/30/CFWindow-as-Image-onMouseOver-EnlargerPop-Up</link>
				<description>
				
				In a comment on a previous post I wrote about &lt;a href=&quot;http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2007/12/4/CF8-AJAX-Features-Enhancing-CFWindow-with-JavaScript&quot;&gt;Enhancing CFWindow with JavaScript&lt;/a&gt;, Ebenezer asked the question:
&lt;div style=&quot;border:1px solid silver; background: #eeeeee; padding:5px;&quot;&gt;&lt;b&gt;
&quot;CFwindows is quite nice, but i need it to behave in a particular way. I want to remove the frame and the (x) close button. I want to use cfwindow to just &quot;display the bigger size of an image on mouseover and close on mouse out. Anyone with an idea.&quot;
&lt;/b&gt;&lt;/div&gt;

Below is an example of how to remove the toolbar and borders from the cfwindow and display the large image when you rollover the thumbnail.  [More]
				</description>
				
				<category>AJAX</category>				
				
				<category>JavaScript</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Fri, 30 May 2008 19:29:00 -0400</pubDate>
				<guid>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2008/5/30/CFWindow-as-Image-onMouseOver-EnlargerPop-Up</guid>
				
			</item>
			
			<item>
				<title>Reposition A CFWindow  From Center</title>
				<link>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2008/4/22/Reposition-A-CFWindow--From-Center</link>
				<description>
				
				In a comment on a previous post I wrote about &lt;a href=&quot;http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2007/12/4/CF8-AJAX-Features-Enhancing-CFWindow-with-JavaScript&quot;&gt;Enhancing CFWindow with JavaScript&lt;/a&gt;, Nathan asked the question:

&lt;div style=&quot;border:1px solid silver; background: #eeeeee; padding:5px;&quot;&gt;
&lt;b&gt;&quot;I like the center feature but if you want to move the window to a little below center what function do you call to center then move it down 20 px?&quot;&lt;/b&gt;
&lt;/div&gt;


The answer is to use the &lt;a href=&quot;http://extjs.com/deploy/ext/docs/output/Ext.BasicDialog.html#center&quot; target=&quot;_blank&quot;&gt;Ext.BasicDialog.center()&lt;/a&gt; function, then get the windows &lt;a href=&quot;http://extjs.com/deploy/ext/docs/output/Ext.Element.html&quot; target=&quot;_blank&quot;&gt;Ext.Element&lt;/a&gt; object using the &lt;a href=&quot;http://extjs.com/deploy/ext/docs/output/Ext.BasicDialog.html#getEl&quot; target=&quot;_blank&quot;&gt;Ext.BasicDialog.getEl()&lt;/a&gt; function. The Ext.Element object has the getX() and getY() methods, which will give you access to the windows X and Y coordinates. You can use those, in combination with the Ext.BasicDialog.moveTo() function, to move the window to your desired position relative to the center.  [More]
				</description>
				
				<category>AJAX</category>				
				
				<category>JavaScript</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Tue, 22 Apr 2008 16:29:00 -0400</pubDate>
				<guid>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2008/4/22/Reposition-A-CFWindow--From-Center</guid>
				
			</item>
			
			<item>
				<title>CFWindow with a Minimize / Maximize button</title>
				<link>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2008/3/11/CFWindow-with-a-Minimize--Maximize-button</link>
				<description>
				
				Michael Asked:
&lt;div style=&quot;border:1px solid silver; background: #eeeeee; padding:5px;&quot;&gt;
&lt;b&gt;&quot;Is there any way to add a minimize button to a CFWindow? &quot;&lt;/b&gt;
&lt;/div&gt;

As a matter of fact, the &lt;a href=&quot;http://extjs.com/deploy/ext/docs/output/Ext.BasicDialog.html&quot; target=&quot;_blank&quot;&gt;Ext.BasicDialog&lt;/a&gt; object that powers the CFWindow tag does have a &quot;collapsible&quot; configuration option. However, Adobe did not add that as an attribute in the CF8 implementation of CFWindow. They currently have it hard-coded so that all CFWindow generated dialogs are set to &quot;collapsible:false&quot;. Hopefully they will add a collapsible attribute to the CFWindow tag in some future release, but until then, adding the Minimize/Maximize button onto the CFWindow tool bar is a fairly painless job with the snippet of JavaScript that you can find below.  [More]
				</description>
				
				<category>AJAX</category>				
				
				<category>JavaScript</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Tue, 11 Mar 2008 19:42:00 -0400</pubDate>
				<guid>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2008/3/11/CFWindow-with-a-Minimize--Maximize-button</guid>
				
			</item>
			
			<item>
				<title>CFGrid: Disabling the Selected Row HighLighting</title>
				<link>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2008/3/11/CFGrid-Disabling-the-Selected-Row-HighLighting</link>
				<description>
				
				I was working on a project the other day that was using CFGrid to manage some data and there was a button on each row to perform a certain action. However, we didn&apos;t want the background color of a row to change when the user clicks on a row or on the button. I created this little javascript that adds a listener to the &quot;&lt;a href=&quot;http://extjs.com/deploy/ext/docs/output/Ext.grid.RowSelectionModel.html#event-beforerowselect&quot; target=&quot;_blank&quot;&gt;beforerowselect&lt;/a&gt;&quot; event in the underlying Ext.grid&apos;s &lt;a href=&quot;http://extjs.com/deploy/ext/docs/output/Ext.grid.RowSelectionModel.html&quot; target=&quot;_blank&quot;&gt;Row Selection Model&lt;/a&gt; and cancels any row selections, preventing the row from being highlighted.  [More]
				</description>
				
				<category>AJAX</category>				
				
				<category>JavaScript</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Tue, 11 Mar 2008 09:00:00 -0400</pubDate>
				<guid>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2008/3/11/CFGrid-Disabling-the-Selected-Row-HighLighting</guid>
				
			</item>
			
			<item>
				<title>CFWindow Event Listeners</title>
				<link>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2008/1/30/CFWindow-Event-Listeners</link>
				<description>
				
				The CFWindow tag is built using the &lt;a href=&quot;http://extjs.com/deploy/ext/docs/output/Ext.BasicDialog.html&quot; target=&quot;_blank&quot;&gt;Ext.BasicDialog&lt;/a&gt; object. This object has several public events that you can add listeners to. You can use the &lt;a href=&quot;http://extjs.com/deploy/ext/docs/output/Ext.BasicDialog.html#on&quot; target=&quot;_blank&quot;&gt;Ext.BasicDialog objects on() function&lt;/a&gt; to add listeners to these events that will fire a specific function when the specified event occurs. You can program the listener functions to react as necessary to the various events. Here is a list of the events that you can set up listeners for:  [More]
				</description>
				
				<category>AJAX</category>				
				
				<category>JavaScript</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Wed, 30 Jan 2008 15:47:00 -0400</pubDate>
				<guid>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2008/1/30/CFWindow-Event-Listeners</guid>
				
			</item>
			
			<item>
				<title>Session.cfc</title>
				<link>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2008/1/23/Sessioncfc</link>
				<description>
				
				In a &lt;a href=&quot;http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2007/11/12/CF8-AJAX-Features-CFLayout-Typetab--Saving-Selected-Tab-State-In-Session&quot; target=&quot;_blank&quot;&gt;previous post&lt;/a&gt; I created a CFC to save simple variables into the session scope. In that CFC I had set up two functions, &quot;SetSessionVar&quot; and &quot;GetSessionVar&quot;. However I ended up only needing the &quot;SetSessionVar&quot; function for my example so I never really tested the &quot;GetSessionVar&quot; function. Someone asked me today how to invoke it, and that is when I realized there were a couple little problems that I needed to fix.  [More]
				</description>
				
				<category>AJAX</category>				
				
				<category>JavaScript</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Wed, 23 Jan 2008 16:52:00 -0400</pubDate>
				<guid>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2008/1/23/Sessioncfc</guid>
				
			</item>
			
			<item>
				<title>JavaScript Error from CFChart within CFLayout</title>
				<link>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2008/1/21/JavaScript-Error-from-CFChart-within-CFLayout</link>
				<description>
				
				I ran accross a noteworthy question on &lt;a href=&quot;http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/Cold_Fusion_Markup_Language/Q_23099416.html&quot; target=&quot;_blank&quot;&gt;Experts-Exchange&lt;/a&gt; today regarding a javascript error that occurs when you have a cflayout that navigates to a page with a cfchart tag.  [More]
				</description>
				
				<category>AJAX</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Mon, 21 Jan 2008 19:57:00 -0400</pubDate>
				<guid>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2008/1/21/JavaScript-Error-from-CFChart-within-CFLayout</guid>
				
			</item>
			
			<item>
				<title>JavaScript to Identify Current CFWindows</title>
				<link>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2007/12/20/JavaScript-to-Identify-Current-CFWindows</link>
				<description>
				
				A couple weeks ago I wrote a post on &lt;a href=&quot;http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2007/12/4/CF8-AJAX-Features-Enhancing-CFWindow-with-JavaScript&quot; target=&quot;_blank&quot;&gt;Enhancing CFWindow with JavaScript&lt;/a&gt;, and it was recently asked if there was a way to identify all the windows and their visible status that currently exist on a page where you are using the &lt;a href=&quot;http://livedocs.adobe.com/coldfusion/8/htmldocs/JavaScriptFcns_28.html#1202979&quot; target=&quot;_blank&quot;&gt;ColdFusion.Window.create&lt;/a&gt; function to create new CFWindow instances. It took a few minutes of digging with FireBug, but I found that there is a ColdFusion.objectCache object that holds information about the various ext object that get created with the ColdFusion AJAX features. I created a function that loops through the objectCache and finds objects that have a &quot;cfwindowname&quot; property. Then used the Ext.BasicDialog.isVisible() function to determine if the window is currently visible.  [More]
				</description>
				
				<category>AJAX</category>				
				
				<category>JavaScript</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Thu, 20 Dec 2007 15:12:00 -0400</pubDate>
				<guid>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2007/12/20/JavaScript-to-Identify-Current-CFWindows</guid>
				
			</item>
			
			<item>
				<title>CF8 AJAX Features: Enhancing CFWindow with JavaScript</title>
				<link>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2007/12/4/CF8-AJAX-Features-Enhancing-CFWindow-with-JavaScript</link>
				<description>
				
				ColdFusion 8 added the CFWindow tag which creates a pop-up window in the browser, which is not really a pop-up window, but rather it is a div layer that looks like a window and can be hidden and shown via JavaScript. Today, I am going to demonstrate a couple ways you can expand your use of the CFWindow tag by incorporating some JavaScript that interacts with the underlying &lt;a href=&quot;http://extjs.com/deploy/ext/docs/output/Ext.BasicDialog.html&quot; target=&quot;_blank&quot;&gt;Ext.BasicDialog&lt;/a&gt; object.  [More]
				</description>
				
				<category>AJAX</category>				
				
				<category>JavaScript</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Tue, 04 Dec 2007 15:16:00 -0400</pubDate>
				<guid>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2007/12/4/CF8-AJAX-Features-Enhancing-CFWindow-with-JavaScript</guid>
				
			</item>
			
			<item>
				<title>CFLayout Type=&quot;tab&quot; - Saving Multiple Tab Layout States In Session</title>
				<link>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2007/12/3/CFLayout-Typetab--Saving-Multiple-Tab-Layout-States-In-Session</link>
				<description>
				
				A couple weeks ago I posted an entry on &lt;a href=&quot;http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2007/11/12/CF8-AJAX-Features-CFLayout-Typetab--Saving-Selected-Tab-State-In-Session&quot; target=&quot;_blank&quot;&gt;how to save the state of selected CFLayout generated tabs&lt;/a&gt; on a page. Then it was asked how that example could be expanded to save the state of multiple tab layouts on a page. I have created an example of how to do that below.  [More]
				</description>
				
				<category>AJAX</category>				
				
				<category>JavaScript</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Mon, 03 Dec 2007 13:55:00 -0400</pubDate>
				<guid>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2007/12/3/CFLayout-Typetab--Saving-Multiple-Tab-Layout-States-In-Session</guid>
				
			</item>
			
			<item>
				<title>CF8 AJAX JavaScript Functions: Getting Underlying JavaScript Objects</title>
				<link>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2007/11/29/CF8-AJAX-JavaScript-Functions-Getting-Underlying-JavaScript-Objects</link>
				<description>
				
				I have blogged a lot about the new AJAX related functionality that comes with CF8, and some of my examples have demonstrated how to utilize the underlying &lt;a href=&quot;http://extjs.com/deploy/ext/docs/&quot; target=&quot;_blank&quot;&gt;EXT&lt;/a&gt; and &lt;a href=&quot;http://developer.yahoo.com/yui/docs/index.html&quot; target=&quot;_blank&quot;&gt;YUI&lt;/a&gt; JavaScript libraries that power these great features. There are 5 functions that ColdFusion provides that give you access to the JavaScript objects, and if you are proficient at JavaScript, I highly recommend you spend some time researching each of the libraries so you can be familiar with how you can customize them to your needs.

If your not familiar with JavaScript, get familiar. More and more attention is being focused on making websites more engaging for users, and knowing how to use javascript to implement AJAX related features is a powerful tool to have at your disposal.  [More]
				</description>
				
				<category>AJAX</category>				
				
				<category>JavaScript</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Thu, 29 Nov 2007 18:54:00 -0400</pubDate>
				<guid>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2007/11/29/CF8-AJAX-JavaScript-Functions-Getting-Underlying-JavaScript-Objects</guid>
				
			</item>
			
			<item>
				<title>CF8 AJAX Features: Validating CFGrid Data</title>
				<link>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2007/11/28/CF8-AJAX-Features-Validating-CFGrid-Data</link>
				<description>
				
				Yesterday I blogged about how to create a &lt;a href=&quot;http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2007/11/27/CFGrid-Custom-Date-Renderer&quot; target=&quot;_blank&quot;&gt;custom date renderer for CFGrid&lt;/a&gt;. Today I am going to add to that example how to validate the data entered into the CFGrid before it is sent to the cfc to update the database. The CFGrid (Ext.grid.EditorGrid) object has an event called &quot;&lt;a href=&quot;http://extjs.com/deploy/ext/docs/output/Ext.grid.EditorGrid.html#event-validateedit&quot; target=&quot;_blank&quot;&gt;validateedit&lt;/a&gt;&quot;, which fires after a cell is edited, but before the value is set in the record. We will be adding a listener to that event that will validate the data that is being submitted and, if the data is not valid, display an alert message and cancel the changes.  [More]
				</description>
				
				<category>AJAX</category>				
				
				<category>JavaScript</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Wed, 28 Nov 2007 16:05:00 -0400</pubDate>
				<guid>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2007/11/28/CF8-AJAX-Features-Validating-CFGrid-Data</guid>
				
			</item>
			
			<item>
				<title>CFGrid Custom Date Renderer</title>
				<link>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2007/11/27/CFGrid-Custom-Date-Renderer</link>
				<description>
				
				One of the coolest things about the ColdFusion 8 implementation of the CFGrid tag is that you can do a lot of customization, &lt;i&gt;if&lt;/i&gt; you know your way around the Ext objects. I have found several blog entries about using custom renderers with the CFGrid tag. However, could not find a working example of one for date fields, so I decided to build one.  [More]
				</description>
				
				<category>AJAX</category>				
				
				<category>JavaScript</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Tue, 27 Nov 2007 17:28:00 -0400</pubDate>
				<guid>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2007/11/27/CFGrid-Custom-Date-Renderer</guid>
				
				<enclosure url="http://www.coldfusionguy.com/ColdFusion/blog/enclosures/CFGridDateRenderer.zip" length="1796" type="application/x-zip-compressed"/>
				
			</item>
			</channel></rss>