<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>CFchimp &#187; ColdFusion</title>
	<atom:link href="http://www.cfchimp.com/wordpress/category/coldfusion/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cfchimp.com/wordpress</link>
	<description>monkey love coldfusion</description>
	<lastBuildDate>Tue, 08 Jun 2010 13:40:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Saving to a database with ColdFusion using jQuery</title>
		<link>http://www.cfchimp.com/wordpress/2010/05/saving-to-a-database-with-coldfusion-using-jquery/</link>
		<comments>http://www.cfchimp.com/wordpress/2010/05/saving-to-a-database-with-coldfusion-using-jquery/#comments</comments>
		<pubDate>Sat, 01 May 2010 15:43:54 +0000</pubDate>
		<dc:creator>Chris Simmons</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.cfchimp.com/wordpress/?p=239</guid>
		<description><![CDATA[A commenter asked me how to extend a previous jQuery post to perform the database save via ColdFusion.  It is REALLY easy (and please keep in mind this is meant to be a SIMPLE example, not production code).  From the jQuery side my example only required the following code to ship the data off to [...]]]></description>
			<content:encoded><![CDATA[<div>
<p>A commenter asked me how to extend <a href="http://www.cfchimp.com/wordpress/2010/04/use-jquery-to-enable-submit-button-and-set-form-action/">a previous jQuery post</a> to perform the database save via ColdFusion.  It is REALLY easy (and please keep in mind this is meant to be a SIMPLE example, not production code).  From the jQuery side my example only required the following code to ship the data off to ColdFusion:<br />
<code><br />
function fSave(){<br />
	you=$("#you").val();<br />
	// Try to save<br />
	$.get("adduser.cfm?"+"you="+you , function(data){<br />
		// Result<br />
		alert(data);<br />
		window.location=location.href;<br />
	});<br />
}<br />
</code><br />
The adduser.cfm page then validates and inserts the data and returns a success or failure message.</p>
<p><a href="http://www.cfchimp.com/chimp/jquery-enabled-form-2.cfm" target="_blank">See it here</a> | <a href="http://www.cfchimp.com/wordpress/wp-content/uploads/2010/05/jq-save-with-cf.zip">Get it here</a>.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.cfchimp.com/wordpress/2010/05/saving-to-a-database-with-coldfusion-using-jquery/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Use jQuery to enable submit button and set form action</title>
		<link>http://www.cfchimp.com/wordpress/2010/04/use-jquery-to-enable-submit-button-and-set-form-action/</link>
		<comments>http://www.cfchimp.com/wordpress/2010/04/use-jquery-to-enable-submit-button-and-set-form-action/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 17:54:30 +0000</pubDate>
		<dc:creator>Chris Simmons</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.cfchimp.com/wordpress/?p=228</guid>
		<description><![CDATA[I recently had to do a quick bit of coding to only accept data from a form if JavaScript was enabled. This example starts with a form that has no action and a disabled submit button.  When jQuery&#8217;s .ready() fires though it enables the submit button and attaches the appropriate action. Please note the example [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had to do a quick bit of coding to only accept data from a form if JavaScript was enabled.</p>
<p>This example starts with a form that has no action and a disabled submit button.  When jQuery&#8217;s .ready() fires though it enables the submit button and attaches the appropriate action.</p>
<p>Please note the example file is in ColdFusion so your mileage may vary slightly for your own use.</p>
<p><a href="http://www.cfchimp.com/chimp/jquery-enabled-form.cfm" target="_blank">See it here</a> | <a href="http://www.cfchimp.com/wordpress/wp-content/uploads/2010/04/jquery-enabled-form.cfm_.zip">Get it here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cfchimp.com/wordpress/2010/04/use-jquery-to-enable-submit-button-and-set-form-action/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Using Gmail to relay mail for ColdFusion Developer Edition</title>
		<link>http://www.cfchimp.com/wordpress/2010/03/using-gmail-to-relay-mail-for-coldfusion-developer-edition/</link>
		<comments>http://www.cfchimp.com/wordpress/2010/03/using-gmail-to-relay-mail-for-coldfusion-developer-edition/#comments</comments>
		<pubDate>Sun, 21 Mar 2010 03:35:36 +0000</pubDate>
		<dc:creator>Chris Simmons</dc:creator>
				<category><![CDATA[ColdFusion]]></category>

		<guid isPermaLink="false">http://www.cfchimp.com/wordpress/?p=212</guid>
		<description><![CDATA[It&#8217;s very simple to get gmail to relay email for applications you are developing/running locally on the ColdFusion Developer Edition (at least it&#8217;s easy in CF9).  Below is a screenshot of the proper settings and some notations of things to keep in mind.]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s very simple to get gmail to relay email for applications you are developing/running locally on the ColdFusion Developer Edition (at least it&#8217;s easy in CF9).  Below is a screenshot of the proper settings and some notations of things to keep in mind.</p>
<p><a href="http://www.cfchimp.com/wordpress/wp-content/uploads/2010/03/gmail_to_relay_cfmail.jpg"><img class="alignnone size-thumbnail wp-image-213" title="gmail_to_relay_cfmail" src="http://www.cfchimp.com/wordpress/wp-content/uploads/2010/03/gmail_to_relay_cfmail-150x150.jpg" alt="Gmail to relay cfmail" width="150" height="150" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cfchimp.com/wordpress/2010/03/using-gmail-to-relay-mail-for-coldfusion-developer-edition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using jQuery style a cftooltip span</title>
		<link>http://www.cfchimp.com/wordpress/2010/02/using-jquery-style-a-cftooltip-span/</link>
		<comments>http://www.cfchimp.com/wordpress/2010/02/using-jquery-style-a-cftooltip-span/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 15:36:20 +0000</pubDate>
		<dc:creator>Chris Simmons</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://www.cfchimp.com/wordpress/?p=202</guid>
		<description><![CDATA[It&#8217;s not hard to figure out how to style the box that pops up when using cftooltip.  It is controlled by the .yui-tt class. /* Tool tip styling */ .yui-tt { color: #444; font-size:110%; border: 2px solid #1C64D1; background-color: #eee; padding: 10px; width:250px; cursor:help; } But how do you style the text that is triggering [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s not hard to figure out how to style the box that pops up when using cftooltip.  It is controlled by the .yui-tt class.<br />
<code><br />
/* Tool tip styling */<br />
.yui-tt {<br />
color: #444;<br />
font-size:110%;<br />
border: 2px solid #1C64D1;<br />
background-color: #eee;<br />
padding: 10px;<br />
width:250px;<br />
cursor:help;<br />
}</code></p>
<p>But how do you style the text that is triggering the tooltip?  cftooltip is going to generate a span around your text with the id of cf_tooltip_999999999 (where 999999999 is some random number).  I didn&#8217;t want to add another span to the mix to provide styling so I turned to jQuery for a simple, quick solution.</p>
<p>In the css file I added a class:<br />
<code><br />
.terms{<br />
color:#168FC0;<br />
border-bottom:1px dashed #168FC0;<br />
text-decoration:none;<br />
margin-bottom:10px;<br />
font-weight:bold;<br />
}<br />
</code><br />
In the jQuery .ready() function I added this line:<br />
<code><br />
$("[id^=cf_tooltip_]").addClass("terms");<br />
</code><br />
The result is that the text which triggers all cftooltips is now controlled by the .terms class.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cfchimp.com/wordpress/2010/02/using-jquery-style-a-cftooltip-span/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CF quickie: cfqueryparam with SQL&#8217;s LIKE operator</title>
		<link>http://www.cfchimp.com/wordpress/2009/12/cf-quickie-cfqueryparam-with-sqls-like-operator/</link>
		<comments>http://www.cfchimp.com/wordpress/2009/12/cf-quickie-cfqueryparam-with-sqls-like-operator/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 13:55:03 +0000</pubDate>
		<dc:creator>Chris Simmons</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.cfchimp.com/wordpress/?p=189</guid>
		<description><![CDATA[If you are using cfqueryparam to build a SQL statement from a search form and need to use the SQL&#8217;s LIKE operator here is how it&#8217;s done in the most basic way: &#60;cfquery name="qData" datasource="myDsn"&#62; SELECT DISTINCT last_name FROM person WHERE last_name LIKE &#60;cfqueryparam cfsqltype="cf_sql_varchar" value="#FORM.last_name#%"&#62; ORDER BY last_name &#60;/cfquery&#62; The magic is all in [...]]]></description>
			<content:encoded><![CDATA[<p>If you are using cfqueryparam to build a SQL statement from a search form and need to use the SQL&#8217;s LIKE operator here is how it&#8217;s done in the most basic way:<br />
<code><br />
&lt;cfquery name="qData" datasource="myDsn"&gt;<br />
SELECT DISTINCT last_name<br />
FROM person<br />
WHERE last_name LIKE &lt;cfqueryparam cfsqltype="cf_sql_varchar" value="#FORM.last_name#%"&gt;<br />
ORDER BY last_name<br />
&lt;/cfquery&gt;<br />
</code><br />
The magic is all in the % sign at the end of the cfqueryparam value attribute.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cfchimp.com/wordpress/2009/12/cf-quickie-cfqueryparam-with-sqls-like-operator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I&#8217;m an ACE (Adobe Certified Expert) in Advanced ColdFusion 8</title>
		<link>http://www.cfchimp.com/wordpress/2009/12/im-an-ace-adobe-certified-expert-in-advanced-coldfusion-8/</link>
		<comments>http://www.cfchimp.com/wordpress/2009/12/im-an-ace-adobe-certified-expert-in-advanced-coldfusion-8/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 04:47:37 +0000</pubDate>
		<dc:creator>Chris Simmons</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Web Dev]]></category>

		<guid isPermaLink="false">http://www.cfchimp.com/wordpress/?p=173</guid>
		<description><![CDATA[Two months of studying paid off today.  I took my ACE exam for ColdFusion 8 and passed with a 98%, which also means I qualified for the Advanced status.  The Web Application Construction Kit is all you&#8217;ll ever need to become a CF Ninja.  For the exam I&#8217;d recommend reading the first volume cover to [...]]]></description>
			<content:encoded><![CDATA[<p>Two months of studying paid off today.  I took my ACE exam for ColdFusion 8 and passed with a 98%, which also means I qualified for the Advanced status.  The Web Application Construction Kit is all you&#8217;ll ever need to become a CF Ninja.  For the exam I&#8217;d recommend reading the first volume cover to cover.  Additionally I found the ColdFusion MX 7 Certified Developer Study Guide to be very useful.  Even if you don&#8217;t need it for your job challenge yourself and go for it.</p>
<table border="0">
<tbody>
<tr>
<td><img class="alignnone size-thumbnail wp-image-174" title="ColdFusion 8 WACK Vol. 1" src="http://www.cfchimp.com/wordpress/wp-content/uploads/2009/12/cfwack1-150x150.jpg" alt="ColdFusion 8 WACK" width="150" height="150" /></td>
<td><img class="alignnone size-thumbnail wp-image-180" title="ColdFusion MX 7 Certified Developer Study Guide" src="http://www.cfchimp.com/wordpress/wp-content/uploads/2009/12/cf7study_guide-150x150.jpg" alt="ColdFusion MX 7 Certified Developer Study Guide" width="150" height="150" /></td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.cfchimp.com/wordpress/2009/12/im-an-ace-adobe-certified-expert-in-advanced-coldfusion-8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ColdFusion Dying&#8230; Again</title>
		<link>http://www.cfchimp.com/wordpress/2009/05/cf-dying-again/</link>
		<comments>http://www.cfchimp.com/wordpress/2009/05/cf-dying-again/#comments</comments>
		<pubDate>Mon, 18 May 2009 17:55:06 +0000</pubDate>
		<dc:creator>Chris Simmons</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Misc programming]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.cfchimp.com/wordpress/?p=145</guid>
		<description><![CDATA[So I took some database training with Global Knowledge last week.¬† My office paid for the training.¬† Apparently that &#8220;back end&#8221; training may be all for naught though since my front end programming language is on life support. Today&#8217;s Global Knowledge newsletter letter informed me (in very cheeky fashion) that ColdFusion is # 5 on [...]]]></description>
			<content:encoded><![CDATA[<p>So I took some database training with Global Knowledge last week.¬† My office paid for the training.¬† Apparently that &#8220;back end&#8221; training may be all for naught though since my front end programming language is on life support.</p>
<p>Today&#8217;s Global Knowledge newsletter letter informed me (in very cheeky fashion) that ColdFusion is # 5 on their &#8220;Dying Technology&#8221; list:</p>
<blockquote><p>&#8220;If any of these skills are your main expertise, perhaps it&#8217;s time to retrain.&#8221;</p>
<p>Here&#8217;s the whole article: <a href="http://www.globalknowledge.com/training/generic.asp?pageid=2347&amp;country=United+States">http://www.globalknowledge.com/training/generic.asp?pageid=2347&amp;country=United+States</a></p></blockquote>
<p>The notion of ColdFusion being dead has been debated into the ground so I&#8217;m not going to belabor it.</p>
<p>IMHO, ColdFusion is the best thing that ever happened to me from an IT standpoint.¬† If you want to get things done quickly, easily and reliably use it.¬† If you are thinking of ColdFusion along with COBOL, Netware, Flannel Shirts and &#8220;Grunge&#8221; Bands From Seattle, and¬† you might want step outside your house more.¬† It&#8217;s not the mid 90&#8242;s anymore.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cfchimp.com/wordpress/2009/05/cf-dying-again/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Change background color of  fckeditor / ColdFusion rich textarea</title>
		<link>http://www.cfchimp.com/wordpress/2008/12/change-background-color-of-fckeditor-coldfusion-rich-textarea/</link>
		<comments>http://www.cfchimp.com/wordpress/2008/12/change-background-color-of-fckeditor-coldfusion-rich-textarea/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 18:52:27 +0000</pubDate>
		<dc:creator>Chris Simmons</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Web Dev]]></category>

		<guid isPermaLink="false">http://www.cfchimp.com/wordpress/?p=102</guid>
		<description><![CDATA[Preface: I work on a project for my office that is hosted by a third party.¬† Therefore, I do not have access to all the inner workings of ColdFusion.¬† Specifically I do not have access to the fck_editorarea.css file. For a new form in the project I need to add a rich textarea.¬† The rich [...]]]></description>
			<content:encoded><![CDATA[<p><em><strong>Preface:</strong> I work on a project for my office that is hosted by a third party.¬† Therefore, I do not have access to all the inner workings of ColdFusion.¬† Specifically I do not have access to the fck_editorarea.css file.</em></p>
<p>For a new form in the project I need to add a rich textarea.¬† The rich textarea will sit atop a div with a background color so I need to change the textarea&#8217;s background color to white.¬† If I can&#8217;t access fck_editorarea.css to change the style what can I do?¬† I can change it via the DOM with JavaScript.¬† For kicks I also added a border.¬† Place the following script just before the &lt;/html&gt; tag.</p>
<p><code>&lt;script type="text/javascript"&gt;<br />
fckItem=document.getElementById('NEWSBODY___Frame');<br />
// change bgcolor<br />
fckItem.style.backgroundColor="#FFFFFF";<br />
// add a border<br />
fckItem.style.border="1px solid #0A0A4F";<br />
&lt;/script&gt;<br />
</code></p>
<p>Easy enough.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cfchimp.com/wordpress/2008/12/change-background-color-of-fckeditor-coldfusion-rich-textarea/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ColdFusion Idol Worship</title>
		<link>http://www.cfchimp.com/wordpress/2008/08/coldfusions-developers-holy-grail/</link>
		<comments>http://www.cfchimp.com/wordpress/2008/08/coldfusions-developers-holy-grail/#comments</comments>
		<pubDate>Tue, 26 Aug 2008 03:26:09 +0000</pubDate>
		<dc:creator>Chris Simmons</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Misc programming]]></category>

		<guid isPermaLink="false">http://www.cfchimp.com/wordpress/?p=74</guid>
		<description><![CDATA[When I was a kid I idolized athletes. ¬†In college I idolized musicians. ¬†As a middle aged dude I idolize superior programmers. Today I achieved something I am very excited about. ¬†I got a couple of lines (and one of those is a comment) of code included in one of Ray Camden&#8217;s projects at RIAForge. [...]]]></description>
			<content:encoded><![CDATA[<p>When I was a kid I idolized athletes. ¬†In college I idolized musicians. ¬†As a middle aged dude I idolize superior programmers.</p>
<p>Today I achieved something I am very excited about. ¬†I got a couple of lines (and one of those is a comment) of code included in one of Ray Camden&#8217;s projects at RIAForge. ¬†The project is GoogleCal. ¬†It&#8217;s a ColdFusion CFC for interacting with Google&#8217;s Calendar service. ¬†My tiny, wee contribution: helping to submit an &#8220;all day&#8221; event. ¬†It is such a small, small, small, small, small (keep going), miniscule piece of Ray&#8217;s project, but just to be able to contribute ANYthing to someone who gives so much to the CF community is freaking AWESOME.</p>
<p><a href="http://googlecal.riaforge.org/" target="_blank">Check it GoogleCal out here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cfchimp.com/wordpress/2008/08/coldfusions-developers-holy-grail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Dreamweaver to work with .cfmail files</title>
		<link>http://www.cfchimp.com/wordpress/2008/08/using-dreamweaver-to-work-with-cfmail-files/</link>
		<comments>http://www.cfchimp.com/wordpress/2008/08/using-dreamweaver-to-work-with-cfmail-files/#comments</comments>
		<pubDate>Tue, 19 Aug 2008 14:57:10 +0000</pubDate>
		<dc:creator>Chris Simmons</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Dreamweaver]]></category>
		<category><![CDATA[Misc programming]]></category>
		<category><![CDATA[Web Dev]]></category>

		<guid isPermaLink="false">http://www.cfchimp.com/wordpress/?p=72</guid>
		<description><![CDATA[I had a BIG problem recently at a hosting company for a project I work on. They had &#8220;something go wrong&#8221; during an upgrade to ColdFusion 8 and they lost our site&#8217;s settings from ColdFusion 7. Rather than wasting valuable time trying to get them to restore a backup and redo the upgrade I forged [...]]]></description>
			<content:encoded><![CDATA[<p>I had a BIG problem recently at a hosting company for a project I work on.  They had &#8220;something go wrong&#8221; during an upgrade to ColdFusion 8 and they lost our site&#8217;s settings from ColdFusion 7.  Rather than wasting valuable time trying to get them to restore a backup and redo the upgrade I forged on trying to set everything right.</p>
<p>One of the problems I came across was that the hosting company set the mail server to be a different one than what we had for CF7.  Why did this matter?  Well, there were about 300 messages sitting in the &#8220;Undelivr&#8221; folder that needed to go out.  In each of those messages was the old (now incorrect) mail server info.  Since I was under the gun to get the mail out I pulled them all down via FTP to parse through them with Dreamweaver.</p>
<p>I used this article to configure Dreamweaver to edit my extensions.txt file to be able to open and perform search and replace on .cfmail files:</p>
<p>http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16410</p>
<p>Here is a what the extensions.txt file looks like:</p>
<p><a href="http://www.cfchimp.com/wordpress/wp-content/uploads/2008/08/extensions_txt.jpg"><img class="alignnone size-medium wp-image-73" title="extensions_txt" src="http://www.cfchimp.com/wordpress/wp-content/uploads/2008/08/extensions_txt-300x112.jpg" alt="Dreamweaver\'s extensions.txt file" width="300" height="112" /></a></p>
<p>Once I got all of the .cfmail files updated, I FTP&#8217;d them back into the spool folder for re-processing.  No dice.  ColdFusion moved it all back to the &#8220;Undelivr&#8221; folder with a cryptic error:</p>
<p><code>The ColdFusion Mail Spool Encountered An Invalid Spool File In The Spool Directory. The invalid file MailXXXXXX.cfmail was moved to the undeliverable directory.</code></p>
<p>The next step&#8230; Hot Fix.  Read about it <a href="http://www.bennadel.com/blog/1233-The-ColdFusion-Mail-Spool-Encountered-An-Invalid-Spool-File-In-The-Spool-Directory.htm" target="_blank">here</a>.</p>
<p>After the Hot Fix I again dropped the .cfmail files back into the spool folder for re-processing.  This time&#8230; Sweet Success.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cfchimp.com/wordpress/2008/08/using-dreamweaver-to-work-with-cfmail-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
