<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0">
			<channel>
			<title>ColdFusion Development Blog by Scott Bennett - ColdFusion</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>Thu, 23 May 2013 07:10:41 -0400</pubDate>
			<lastBuildDate>Mon, 10 Nov 2008 03:30: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>CFWindow scrollIntoView</title>
				<link>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2008/11/10/CFWindow-scrollIntoView</link>
				<description>
				
				Leon asked:

&lt;div style=&quot;border:1px solid silver; background: #eeeeee; padding:5px;&quot;&gt;&lt;b&gt;&quot;I wondered if you know of a way to control the scroll position of the contents in a cfwindow? Do you know if there&apos;s some ext api function or property that can be used sort of like the JS scrollIntoView() type function, but applies to the ext window?&quot;&lt;/b&gt;&lt;/div&gt;

The solution to the problem can be seen in the cfWindowScrollIntoView() function I created below  [More]
				</description>
				
				<category>JavaScript</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Mon, 10 Nov 2008 03:30:00 -0400</pubDate>
				<guid>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2008/11/10/CFWindow-scrollIntoView</guid>
				
			</item>
			
			<item>
				<title>My 2&amp;cent; on Programming Pradigms and Maintainability in ColdFusion</title>
				<link>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2008/11/3/My-2cent-on-Programming-Pradigms-and-Maintainability-in-ColdFusion</link>
				<description>
				
				I hear a lot of OOP fans say that OOP makes large applications &quot;easier to maintain&quot;, and the question always comes to mind &quot;Easier for whom?&quot;. If I ask &quot;Who will be maintaining my application?&quot;, the answer is &quot;ColdFusion developers&quot;, and if I ask &quot;Which programming paradigm are ColdFusion developers generally more comfortable with?&quot;,  I would have to say the answer is &quot;Procedural&quot;.  Here in the Orange County/Los Angeles area, it&apos;s hard enough to find a decent CF developer without limiting my search to the small amount of people that claim to be OO programmers (and some of those aren&apos;t even really OO programmers, they just need a job and will say anything). Not to mention that the CF Developers that really do know OOP are often more expensive than their procedural counterparts.

I am not an OOP guru, so my opinion may not be firmly planted in reality, but I don&apos;t think the size of the application really matters when it comes to deciding weather to develop it in pure OO code or to develop it using procedural code and maybe sprinkling in some OO concepts where it makes sense.  [More]
				</description>
				
				<category>ColdFusion</category>				
				
				<pubDate>Mon, 03 Nov 2008 18:18:00 -0400</pubDate>
				<guid>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2008/11/3/My-2cent-on-Programming-Pradigms-and-Maintainability-in-ColdFusion</guid>
				
			</item>
			
			<item>
				<title>CFGrid: Disable the Right Mouse Click Event</title>
				<link>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2008/10/22/CFGrid-Disable-the-Right-Mouse-Click-Event</link>
				<description>
				
				Willis asked:

&lt;div style=&quot;border:1px solid silver; background: #eeeeee; padding:5px;&quot;&gt;
&lt;b&gt;&quot;Do you know how to disable or turn off the right mouse click menu for cfgrid?&quot;&lt;/b&gt;
&lt;/div&gt;

This is actually pretty easy, all you need to do is set up a listener on the contextmenu event and have the listener cancel the event. Here is the code (&lt;a href=&quot;http://www.coldfusionguy.com/coldfusion/samples/cfgridsample5.cfm&quot; target=&quot;_blank&quot;&gt;click here to try it&lt;/a&gt;):  [More]
				</description>
				
				<category>JavaScript</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Wed, 22 Oct 2008 20:39:00 -0400</pubDate>
				<guid>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2008/10/22/CFGrid-Disable-the-Right-Mouse-Click-Event</guid>
				
			</item>
			
			<item>
				<title>XMLSearch(): Specify xmlns namespaces in an xPath Search</title>
				<link>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2008/9/26/XMLSearch-Specify-xmlns-namespaces-in-an-xPath-Search</link>
				<description>
				
				At last nights &lt;a href=&quot;http://www.occfug.org&quot; target=&quot;_blank&quot;&gt;OCCFUG&lt;/a&gt; meeting, one of the members asked what is the best way to access the data from nodes in an XML document that have xmlns namespace prefixes. I touched on this topic briefly in the comments of my post about &lt;a href=&quot;http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2007/11/15/ColdFusion-Tutorial-Reading-XML-Documents&quot; target=&quot;_blank&quot;&gt;reading XML documents&lt;/a&gt;, but I thought I would expound upon it a little more as there doesn&apos;t seem to be a lot of solid explanations out there on how to do this in ColdFusion. In a nutshell, the answer is to use XMLSearch() with an xPath expression that utilizes the namespace-uri() function.  [More]
				</description>
				
				<category>XML</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Fri, 26 Sep 2008 16:23:00 -0400</pubDate>
				<guid>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2008/9/26/XMLSearch-Specify-xmlns-namespaces-in-an-xPath-Search</guid>
				
			</item>
			
			<item>
				<title>PowerPoint from the new Co-Manager of the Orange County CFUG</title>
				<link>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2008/7/18/PowerPoint-from-the-new-CoManager-of-the-Orange-County-CFUG</link>
				<description>
				
				As those of you who were at last night&apos;s meeting know, I am now the co-manager of &lt;a href=&quot;http://www.occfug.org&quot; target=&quot;_blank&quot;&gt;OCCFUG&lt;/a&gt;. I am pretty excited about this opportunity to help out with some of the administrative things that go into keeping the group going. I love going to the meetings and hope the group continues to grow.

Several people asked for the slides from my presentation last night, so I have attached them to this post. (click the download link below) 
				</description>
				
				<category>OCCFUG</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Fri, 18 Jul 2008 14:26:00 -0400</pubDate>
				<guid>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2008/7/18/PowerPoint-from-the-new-CoManager-of-the-Orange-County-CFUG</guid>
				
				<enclosure url="http://www.coldfusionguy.com/ColdFusion/blog/enclosures/ColdFusion8AjaxFeatures.ppt" length="543232" type="application/vnd.ms-powerpoint"/>
				
			</item>
			
			<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>Do I Suck Because I Don&apos;t Use Frameworks?</title>
				<link>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2008/5/23/Do-I-Suck-Because-I-Dont-Use-Frameworks</link>
				<description>
				
				I would like to begin with the statement that I am not against the use of frameworks, if they work for you, that&apos;s great. However, I do get the feeling that there are people out there that think less of programmers that don&apos;t use frameworks. Admittedly, there are probably a significant number of ColdFusion programmers out there that don&apos;t use frameworks because perhaps they don&apos;t grasp the architecture of the framework, or they get scared off by all the big words that framework enthusiasts are so fond of, or they are just never have time to do the research to find out what the frameworks have to offer.  [More]
				</description>
				
				<category>Frameworks</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Fri, 23 May 2008 17:38:00 -0400</pubDate>
				<guid>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2008/5/23/Do-I-Suck-Because-I-Dont-Use-Frameworks</guid>
				
				<enclosure url="http://www.coldfusionguy.com/ColdFusion/blog/enclosures/MG_vs_ScottsMVC.zip" length="21261" type="application/x-zip-compressed"/>
				
			</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>Google Maps API in a ColdFusion Custom Tag</title>
				<link>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2008/4/18/Google-Maps-API-in-a-ColdFusion-Custom-Tag</link>
				<description>
				
				At last nights Orange County ColdFusion Users Group meeting (&lt;a href=&quot;http://www.occfug.org&quot; target=&quot;_blank&quot;&gt;occfug.org&lt;/a&gt;) I presented on the topic of integrating the &lt;a href=&quot;http://code.google.com/apis/maps/documentation/index.html&quot; target=&quot;_blank&quot;&gt;Google Maps API&lt;/a&gt; into a ColdFusion application. I made a custom tag for the presentation that generates a Google API powered map, and I am posting it here for all the people that wanted access to the source code.  [More]
				</description>
				
				<category>Google API</category>				
				
				<category>JavaScript</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Fri, 18 Apr 2008 19:04:00 -0400</pubDate>
				<guid>http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2008/4/18/Google-Maps-API-in-a-ColdFusion-Custom-Tag</guid>
				
				<enclosure url="http://www.coldfusionguy.com/ColdFusion/blog/enclosures/cf_gMap.zip" length="4541" type="application/x-zip-compressed"/>
				
			</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>
			</channel></rss>