<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0">
			<channel>
			<title>Ken Reiss&apos; Blog - Cold Fusion Programming</title>
			<link>http://www.KenReiss.com/blog/index.cfm</link>
			<description>The Blog of Ken Reiss</description>
			<language>en-us</language>
			<pubDate>Thu, 09 Sep 2010 00:58:18 -0400</pubDate>
			<lastBuildDate>Thu, 18 Oct 2007 21:24:00 -0400</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>kenreiss@portone.com</managingEditor>
			<webMaster>kenreiss@portone.com</webMaster>
			
			<item>
				<title>Installing ColdFusion 8 Help Files into Homesite+</title>
				<link>http://www.KenReiss.com/blog/index.cfm/2007/10/18/Installing-ColdFusion-8-Help-Files-into-Homesite</link>
				<description>
				
				Yes, I still use homesite+ for CF coding!  It still just works and is not nearly as bloated or cumbersome as Dreamweaver, when doing ColdFusion coding.

The new CF8 Help Files (homeSiteForcf8.zip) don&apos;t properly install.  Here&apos;s what I did to make them work:  Install as per directions, except in step 2 of Adobe&apos;s directions DON&apos;T install into the &quot;homesite-root&quot; directory (which is your homesite&apos;s main install location).  INSTEAD install into the Help folder which is inside homesite&apos;s root folder.  

Hope this helps someone else out who is struggling with them. 
				</description>
				
				<category>Cold Fusion Programming</category>
				
				<pubDate>Thu, 18 Oct 2007 21:24:00 -0400</pubDate>
				<guid>http://www.KenReiss.com/blog/index.cfm/2007/10/18/Installing-ColdFusion-8-Help-Files-into-Homesite</guid>
				
			</item>
			
			<item>
				<title>Fix for firefox requiring users to right-click and select &quot;Spell check this field&quot;</title>
				<link>http://www.KenReiss.com/blog/index.cfm/2007/6/1/Fix-for-firefox-requiring-users-to-rightclick-and-select-Spell-check-this-field</link>
				<description>
				
				Starting with a recent version of firefox, rich-text or WYSIWYG text editors no longer cause firefox to automatically spell check.  Users needed to right click and select &quot;Spell check this field&quot; every time they went to a page with this type of editor.

The solution is to add the following line of code into the text editor:

&lt;code&gt;gecko_spellcheck : true&lt;/code&gt;

For example, in tinyMCE, the code block might look like:

&lt;code&gt;
&lt;SCRIPT LANGUAGE=&quot;JavaScript&quot;&gt;
&lt;!--//
tinyMCE.init({
		gecko_spellcheck : true,
		theme : &quot;advanced&quot;,
		mode : &quot;exact&quot;,
		elements : &quot;body&quot;,
		theme_advanced_layout_manager : &quot;SimpleLayout&quot;,
		theme_advanced_toolbar_location : &quot;top&quot;,
		theme_advanced_buttons1 : &quot;fontselect,separator,bold,italic,underline,strikethrough,separator,bullist,numlist,outdent,indent,separator,link,unlink,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,hr,sub,sup,separator,code,separator&quot;,
		theme_advanced_buttons2 : &quot;&quot;,
		theme_advanced_buttons3 : &quot;&quot;,
		auto_focus : &quot;body&quot;
	});
//--&gt;
&lt;/SCRIPT&gt;
&lt;/code&gt;

In looking for this solution, I found MANY people with the same problem I had.  If this helps you, please post a comment in my blog.

Ken. 
				</description>
				
				<category>Cold Fusion Programming</category>
				
				<pubDate>Fri, 01 Jun 2007 23:40:00 -0400</pubDate>
				<guid>http://www.KenReiss.com/blog/index.cfm/2007/6/1/Fix-for-firefox-requiring-users-to-rightclick-and-select-Spell-check-this-field</guid>
				
			</item>
			
			<item>
				<title>What FTP Client do you use?</title>
				<link>http://www.KenReiss.com/blog/index.cfm/2006/9/3/What-FTP-Client-do-you-use</link>
				<description>
				
				I use to use CuteFTP way back, but then changed over to Van Dyke&apos;s AbsoluteFTP years ago.  I can&apos;t recall why we made this change, but it seemed better.

Lately, however, AbsoluteFTP (now called SecureFX) likes to download 0-sized files about once every 3 times on one of our computers.  Other programs don&apos;t do this and it doesn&apos;t happen on any computer.

I used to like how CuteFTP allowed multiple instances at a time (i.e. one for the public folders and one for the admin folders).  This made it easy to upload changes made in 2 seperate areas without having to navigate folders.

So, I think we&apos;ll change to a new FTP client.

What do you use?  What do you like about it?  What are it&apos;s drawbacks? 
				</description>
				
				<category>Cold Fusion Programming</category>
				
				<category>Flex Programming</category>
				
				<pubDate>Sun, 03 Sep 2006 15:51:00 -0400</pubDate>
				<guid>http://www.KenReiss.com/blog/index.cfm/2006/9/3/What-FTP-Client-do-you-use</guid>
				
			</item>
			
			<item>
				<title>Cold Fusion: Way to set default values for XML elements?</title>
				<link>http://www.KenReiss.com/blog/index.cfm/2006/8/30/Cold-Fusion-Way-to-set-default-values-for-XML-elements</link>
				<description>
				
				I was working on an XML conversion project recently, and found that neither the IsXmlElem(), IsXmlNode(), nor the IsXmlAttribute() functions would work if I was looking for a non-existent element (the throw errors if the element doesn&apos;t exist).

I know that XML should all be standardized so all elements always exist.  However, this client is using an old Oracle system which doesn&apos;t always include all the XML elements.  In fact it leaves them out when they&apos;re null.

So, I wrote the following function to work like a cfparam for XML elements:

&lt;code&gt;&lt;cffunction name=&quot;xmlParam&quot; hint=&quot;This function works like a cfparam for xml elements.  Returns result.&quot; returntype=&quot;string&quot; output=&quot;No&quot;&gt;
	&lt;cfargument name=&quot;scope&quot; type=&quot;xml&quot;&gt;
	&lt;cfargument name=&quot;name&quot; type=&quot;string&quot;&gt;
	&lt;cfargument name=&quot;default&quot; type=&quot;string&quot;&gt;
	&lt;cfset var result = &quot;&quot;&gt;
	&lt;cftry&gt;
		&lt;cfset result = Trim(Evaluate(&quot;scope.#Arguments.name#&quot;))&gt;
		&lt;cfcatch type=&quot;Expression&quot;&gt;&lt;cfset result = default&gt;&lt;/cfcatch&gt;
	&lt;/cftry&gt;
	&lt;cfreturn result&gt;
&lt;/cffunction&gt;&lt;/code&gt;

While, I &lt;b&gt;REALLY&lt;/b&gt; hate using a cftry to do this, I can&apos;t see any other way.  Perhaps you know one?? 
				</description>
				
				<category>Cold Fusion Programming</category>
				
				<pubDate>Wed, 30 Aug 2006 22:46:00 -0400</pubDate>
				<guid>http://www.KenReiss.com/blog/index.cfm/2006/8/30/Cold-Fusion-Way-to-set-default-values-for-XML-elements</guid>
				
			</item>
			
			<item>
				<title>Dynamically eveluating the IsXmlElem function</title>
				<link>http://www.KenReiss.com/blog/index.cfm/2006/8/14/Dynamically-eveluating-the-IsXmlElem-function</link>
				<description>
				
				I was having problems dynamically evaluating with the IsXmlElem function:

&lt;code&gt;#IsXmlElem(xml.abc.def)#&lt;/code&gt;

worked fine, but:

&lt;code&gt;&lt;cfset a = &quot;xml.abc.def&quot;&gt;
#IsXmlElem(a)#&lt;/code&gt;

didn&apos;t.  To make this work you need to:

&lt;code&gt;&lt;cfset a = &quot;xml.abc.def&quot;&gt;
#Evaluate(&quot;IsXmlElem(#a#)&quot;)#&lt;/code&gt;

Notes:

* The setting of the a variable can be dynamic.  This is great if you have a list of elements and are looping over them to check for their existisnce.

* This also works of IsXmlNode and IsXmlAttribute. 
				</description>
				
				<category>Cold Fusion Programming</category>
				
				<pubDate>Mon, 14 Aug 2006 00:05:00 -0400</pubDate>
				<guid>http://www.KenReiss.com/blog/index.cfm/2006/8/14/Dynamically-eveluating-the-IsXmlElem-function</guid>
				
			</item>
			
			<item>
				<title>Flex 2.0 with CFMX 7.0.2 - SUCCESS!!</title>
				<link>http://www.KenReiss.com/blog/index.cfm/2006/8/10/Flex-20-with-CFMX-702--SUCCESS</link>
				<description>
				
				Hurray!  I finally was able to make Flex 2 work tonight with CFMX 7.0.2 on a remotely hosted, shared server.  No more Unknown destination &apos;ColdFusion&apos; errors!!  Here&apos;s how I did it:

1.  On the local machine without CFMX 7.0.2, put the default services-config.xml file (from CFMX 7.0.2) into: C:\CFusionMX7\wwwroot\WEB-INF\flex  (create the folder, if you don&apos;t have it already).

2.  When you create your flex app, specify the following by right-clicking on the application name (from within the Navigator in the top-left box) and choosing properties:

a. Flex Compiler tab -&gt; Additional compiler arguments -&gt; &lt;code&gt;-services &quot;C:\CFusionMX7\wwwroot\WEB-INF\flex\services-config.xml&quot; -locale en_US&lt;/code&gt;
 b. Flex Server tab -&gt; Flex root folder: &lt;code&gt;C:\CFusionMX7\wwwroot&lt;/code&gt;
 c. Flex Server tab -&gt; Flex server URL: &lt;code&gt;http://www.yourdomainname.com/folderofyourapp/&lt;/code&gt;

3.  Now, FTP up your cfc into the folderofyourapp folder.

4.  In your flex app, reference your RemoteObject&apos;s source as folderofyourapp.cfcname (without the .cfc at the end)

5.  When you Save and Run your app in flex, you&apos;ll need for FTP up the .html and .swf files into your folderofyourapp/projectname/bin/filename (.html and .swf) and then Run again to actually see them.

This requires NO editing of the services-config.xml file.

Notes:

1.  By using Web Services (mx:WebService tag) you don&apos;t need to do anything at all with this.  Just point to the wsdl file and you&apos;re all set.  However, this uses bloated XML for moving the data.

2.  You can try to set your endpoint in the mx:RemoteObject, but this will use regular old flash remoting (the old one prior to Flex 2) which is better than XML, but aparently not compacted binary.

3.  Using the method I described above uses AMF the new flash binary compressed format, which should be much faster and allow for future integtraion of Flex Data Services.


Thanks to Jeff Houser for his great article at: &lt;a href=&quot;http://coldfusion.sys-con.com/read/256202.htm&quot;&gt;http://coldfusion.sys-con.com/read/256202.htm&lt;/a&gt;

Thanks also to everyone who tried to help me figure this out at: &lt;a href=&quot;http://www.forta.com/blog/index.cfm/2006/2/1/ColdFusion-Flex-2-Sample-Application &quot;&gt;http://www.forta.com/blog/index.cfm/2006/2/1/ColdFusion-Flex-2-Sample-Application&lt;/a&gt; and &lt;a href=&quot;http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=585&amp;threadid=1169105&amp;highlight_key=y&amp;keyword1=7%2E0%2E2&quot;&gt;http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=585&amp;threadid=1169105&amp;highlight_key=y&amp;keyword1=7%2E0%2E2&lt;/a&gt;

Please comment on this entry, if you found this a useful way to run Flex 2 and Cold Fusion MX 7 together. 
				</description>
				
				<category>Cold Fusion Programming</category>
				
				<category>Flex Programming</category>
				
				<pubDate>Thu, 10 Aug 2006 00:56:00 -0400</pubDate>
				<guid>http://www.KenReiss.com/blog/index.cfm/2006/8/10/Flex-20-with-CFMX-702--SUCCESS</guid>
				
			</item>
			
			<item>
				<title>Time to &quot;PUSH&quot; the limits on the Internet</title>
				<link>http://www.KenReiss.com/blog/index.cfm/2006/5/12/Time-to-PUSH-the-limits-on-the-Internet</link>
				<description>
				
				I&apos;m truly excited about a new product produced by Adobe/Macromedia called Flex 2.0.  This amazing product should be available by Summer 06 and will completely revolutionize the Internet.

I know you&apos;ve heard this before, but I&apos;ve been involed in telecommuncations since 1982 and have watched the Internet become main-stream and eveolve.  Here&apos;s why I think Flex 2.0 will change the world:

Everyone (developers and users) currently have accepted and live inside a client-server paradigm.  We expect to send a page request to a server, then get a reply.  We understand that sometimes we have to &apos;refresh&apos; the page.  We never expect the page to actually change itself.

With Flex 2.0 sockets remain open and a server can acually push data to the end-user.  Take a moment to think about what this means.  Effectively, this is equivalent to having your keyboard and monitor directly connected to another computer.

Here are a few examples of ways we can use this new PUSH technolgoy that I&apos;ve heard recently:
&lt;li&gt;Auctions: No need for special java or ajax to try to poll data periodically.  Just let the data flow (push) to the end-user.
&lt;li&gt;Stock data/trades
&lt;li&gt;Customer support: Suppose someone is in the middle of placing an order and requsts online help.  The rep could actually see their order and work with the end-user real-time in a simultaneous shopping cart

With Flex 2.0 a &apos;shared object&apos; is created and the Flex Data Server handles distributing any changes to that object out to all who are sharing it!

I truly beleive that not only will Adobe become the next Microsoft, but that the Internet will completely change.  I think the past 10 years have been the Internet just warming up.  With univeral broadband and push technology, its a whole new world!

Please comment on this article with your ideas for Push technology.  What could it possibly do, that our minds are not open to because we&apos;re trapped in the client-server transaction-request paradigm. 
				</description>
				
				<category>Cold Fusion Programming</category>
				
				<category>Flex Programming</category>
				
				<category>Benefits of Custom Web Software in Businesses</category>
				
				<pubDate>Fri, 12 May 2006 23:57:00 -0400</pubDate>
				<guid>http://www.KenReiss.com/blog/index.cfm/2006/5/12/Time-to-PUSH-the-limits-on-the-Internet</guid>
				
			</item>
			</channel></rss>