<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Adobe Community: Message List - Mobile</title>
    <link>https://forums.adobe.com/community/coldfusion/mobile?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Wed, 05 Nov 2014 13:11:01 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2014-11-05T13:11:01Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Illustrator Draw app mobile</title>
      <link>https://forums.adobe.com/message/6901466?tstart=0#6901466</link>
      <description>&lt;!-- [DocumentBodyStart:5a80a9c2-d980-4d0a-bc68-e607e047cc31] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hy,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Anybody here, use Illustrator Draw on iPad?&lt;/p&gt;&lt;p&gt;I have a question about share my projects. I know that is exist the option to share for Illustrator on Desktop, but and my app this don't appears.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I need help, please!&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Tks,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Jey Castro&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:5a80a9c2-d980-4d0a-bc68-e607e047cc31] --&gt;&lt;img src='/beacon?t=1415919364976' /&gt;</description>
      <pubDate>Wed, 05 Nov 2014 13:11:01 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6901466?tstart=0#6901466</guid>
      <dc:date>2014-11-05T13:11:01Z</dc:date>
      <clearspace:dateToText>1 week 1 day ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Are you a PhoneGap expert?</title>
      <link>https://forums.adobe.com/message/6710298?tstart=0#6710298</link>
      <description>&lt;!-- [DocumentBodyStart:738f9f01-25a0-4942-ad80-0b3cf6b4d12d] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I am looking for a community expert who would be willing to demonstrate their PhoneGap products to my online graduate class. Show off your work. Talk about the roadblocks you have encountered. &lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:738f9f01-25a0-4942-ad80-0b3cf6b4d12d] --&gt;</description>
      <pubDate>Mon, 08 Sep 2014 12:28:37 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6710298?tstart=0#6710298</guid>
      <dc:date>2014-09-08T12:28:37Z</dc:date>
      <clearspace:dateToText>2 months 6 days ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>flash player on our ipad and iphone</title>
      <link>https://forums.adobe.com/message/6663069?tstart=0#6663069</link>
      <description>&lt;!-- [DocumentBodyStart:3e0ceb38-1eba-4006-a22b-1e0a547ab408] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;h1&gt;&lt;a class="jive-link-message-small" data-containerId="4513" data-containerType="14" data-objectId="6663062" data-objectType="2" href="https://forums.adobe.com/message/6663062#6663062"&gt;we need flash player on our ipad and iphone&lt;/a&gt; &lt;/h1&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:3e0ceb38-1eba-4006-a22b-1e0a547ab408] --&gt;</description>
      <pubDate>Thu, 21 Aug 2014 20:54:57 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6663069?tstart=0#6663069</guid>
      <dc:date>2014-08-21T20:54:57Z</dc:date>
      <clearspace:dateToText>2 months 3 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: ColdFusion 11: &lt;cfclient&gt;... how does normal CFML code and &lt;cfclient&gt; code interact?</title>
      <link>https://forums.adobe.com/message/6528141?tstart=0#6528141</link>
      <description>&lt;!-- [DocumentBodyStart:c2c7dc24-1202-473d-beb9-c8e3de62ce84] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;There is something else about cfclient that I find even more worrying. Consider the following code snippet:&lt;/p&gt;&lt;blockquote class="jive-quote"&gt;
&lt;p&gt;&amp;lt;cfclient&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;cfset document.getElementById("result").innerHTML = "Hello"&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/cfclient&amp;gt;&lt;/p&gt;

&lt;/blockquote&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This code, found in almost all the demonstrations Adobe has published on the new cfclient tag, mixes the syntax of the two languages, Coldfusion and Javascript. That can only mean one thing: confusion.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;In fact, I wonder why it works, as it is invalid CFML. Do you get my &lt;span style="font-weight: normal;"&gt;&lt;span class="t_nihongo_kanji" lang="ja"&gt;日本語? Then you get my drift. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;em&gt;Reference: &lt;/em&gt;&lt;a class="jive-link-external-small" href="https://wikidocs.adobe.com/wiki/pages/viewpage.action?pageId=138577945&amp;amp;focusedCommentId=142214715#comment-142214715" rel="nofollow"&gt;&lt;em&gt;Adobe cfclient documentation&lt;/em&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:c2c7dc24-1202-473d-beb9-c8e3de62ce84] --&gt;</description>
      <pubDate>Mon, 07 Jul 2014 10:31:55 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6528141?tstart=0#6528141</guid>
      <dc:date>2014-07-07T10:31:55Z</dc:date>
      <clearspace:dateToText>4 months 1 week ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Gossip</title>
      <link>https://forums.adobe.com/message/6482189?tstart=0#6482189</link>
      <description>&lt;!-- [DocumentBodyStart:1ad0c6e7-5885-4e85-9d62-3f14bba843d3] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Why do people rather to attend to others business than their own? E. g. installation remove redeye&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:1ad0c6e7-5885-4e85-9d62-3f14bba843d3] --&gt;</description>
      <pubDate>Sat, 21 Jun 2014 17:28:17 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6482189?tstart=0#6482189</guid>
      <dc:date>2014-06-21T17:28:17Z</dc:date>
      <clearspace:dateToText>4 months 3 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: ColdFusion 11: cfclient ports a lot of CFML functions to JS</title>
      <link>https://forums.adobe.com/message/6361140?tstart=0#6361140</link>
      <description>&lt;!-- [DocumentBodyStart:597c6798-09c2-4cd0-8c29-382ff0aab8db] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;blockquote class="jive-quote"&gt;
&lt;p&gt;The functions defined in the cffunctions.js are not namespaced. If it is namespaced, you would have to add the namespace while using a function inside cfclient.&lt;/p&gt;
&lt;p&gt;These functions are not namespaced, so that you can use the same syntax for using a function inside and outside the cfclient block.&lt;/p&gt;
&lt;p style="min-height: 8pt; padding: 0px; min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;/blockquote&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This is indicative of everyone's concern that you guys would just implement / encourage poor practice in your &amp;lt;cfclient&amp;gt; implementation.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;How is it - given you're "compiling" the CFML anyway - you cannot translate source code that says "listlen()" into "compiled" JS that is CF.listLen() or something? Thus &lt;em&gt;good&lt;/em&gt; CFML can be translated into &lt;em&gt;good&lt;/em&gt; JS.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;You seem to think that there's a one-to-one mapping between what the CFML says and what the resultant JS needs to be.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;You've basically written a mechanism for a CFML developer to write bad JavaScript.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Well done.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;-- &lt;/p&gt;&lt;p&gt;Adam&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:597c6798-09c2-4cd0-8c29-382ff0aab8db] --&gt;</description>
      <pubDate>Wed, 07 May 2014 09:48:42 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6361140?tstart=0#6361140</guid>
      <dc:date>2014-05-07T09:48:42Z</dc:date>
      <clearspace:dateToText>6 months 1 week ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: ColdFusion 11: &lt;cfclient&gt;... how does normal CFML code and &lt;cfclient&gt; code interact?</title>
      <link>https://forums.adobe.com/message/6361012?tstart=0#6361012</link>
      <description>&lt;!-- [DocumentBodyStart:7f8a6226-547a-48f4-b68e-993944cea717] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;blockquote class="jive-quote"&gt;
&lt;p&gt;PaulNibin wrote:&lt;/p&gt;
&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hi Adam,&lt;/p&gt;
&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When you write code inside &amp;lt;cfclient&amp;gt;, it is translated to java script. It cannot access server side variables(defined outside cfclient).&lt;/p&gt;
&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code style="font-weight: inherit; font-style: inherit;"&gt;&amp;lt;script&amp;gt; message = "G'day World"; &amp;lt;/script&amp;gt; &amp;lt;cfclient&amp;gt; &amp;lt;cfoutput&amp;gt;#message#&amp;lt;/cfoutput&amp;gt; &amp;lt;/cfclient&amp;gt; &lt;/code&gt;&lt;/p&gt;
&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The above code works because, message is defined in a script block and client side CFML is interoprable with javascript. So client side CFML can use variables, functions defined in javascript blocks.&lt;/p&gt;
&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Paul&lt;/p&gt;
&lt;/blockquote&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So you're saying you did not provide a mechanism for transferring the variables from the server-side part of a file's code to the client side part? Is this not a bit of an oversight?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;And what - in your mind - is the point of having a file with blocks of both normal CFML, and then a &amp;lt;cfclient&amp;gt; block, then more CFML, then another &amp;lt;cfclient&amp;gt; block (for example) if the code cannot interact?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;-- &lt;/p&gt;&lt;p&gt;Adam&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:7f8a6226-547a-48f4-b68e-993944cea717] --&gt;</description>
      <pubDate>Wed, 07 May 2014 09:29:37 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6361012?tstart=0#6361012</guid>
      <dc:date>2014-05-07T09:29:37Z</dc:date>
      <clearspace:dateToText>6 months 1 week ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: ColdFusion 11: &lt;cfclient&gt;... how does normal CFML code and &lt;cfclient&gt; code interact?</title>
      <link>https://forums.adobe.com/message/6361006?tstart=0#6361006</link>
      <description>&lt;!-- [DocumentBodyStart:f1af69b8-9b90-4d34-a208-d21a9ec3380c] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Thanks Akhila&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;-- &lt;/p&gt;&lt;p&gt;Adam&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:f1af69b8-9b90-4d34-a208-d21a9ec3380c] --&gt;</description>
      <pubDate>Wed, 07 May 2014 08:48:11 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6361006?tstart=0#6361006</guid>
      <dc:date>2014-05-07T08:48:11Z</dc:date>
      <clearspace:dateToText>6 months 1 week ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: ColdFusion 11: &lt;cfclient&gt;... how does normal CFML code and &lt;cfclient&gt; code interact?</title>
      <link>https://forums.adobe.com/message/6357465?tstart=0#6357465</link>
      <description>&lt;!-- [DocumentBodyStart:28975f38-b67d-4763-8b37-189e14aa877a] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;A bug(#3755482) is logged to get proper error message when &amp;lt;cfclient&amp;gt; tag is used with invalid attributes. &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Akhila.&lt;/p&gt;&lt;p&gt;Adobe ColdFusion Engineering Team.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:28975f38-b67d-4763-8b37-189e14aa877a] --&gt;</description>
      <pubDate>Tue, 06 May 2014 09:21:24 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6357465?tstart=0#6357465</guid>
      <dc:date>2014-05-06T09:21:24Z</dc:date>
      <clearspace:dateToText>6 months 1 week ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: ColdFusion 11: cfclient ports a lot of CFML functions to JS</title>
      <link>https://forums.adobe.com/message/6357413?tstart=0#6357413</link>
      <description>&lt;!-- [DocumentBodyStart:d64f7de0-3235-4395-b4de-668dad3ed956] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;An ER logged for this - #3755497.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Akhila.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:d64f7de0-3235-4395-b4de-668dad3ed956] --&gt;</description>
      <pubDate>Tue, 06 May 2014 09:09:28 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6357413?tstart=0#6357413</guid>
      <dc:date>2014-05-06T09:09:28Z</dc:date>
      <clearspace:dateToText>6 months 1 week ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: ColdFusion 11: cfclient ports a lot of CFML functions to JS</title>
      <link>https://forums.adobe.com/message/6357367?tstart=0#6357367</link>
      <description>&lt;!-- [DocumentBodyStart:f9fe479b-f630-45c3-80b9-b124fdec4fb6] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;blockquote class="jive-quote"&gt;
&lt;p&gt;An ER is logged to load cffunctions.js only when its required/used by application.&lt;/p&gt;
&lt;/blockquote&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Ooh. Are we playing "guess the E/R number?"&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;1? 23? 8874012?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Oh, I give up. Perhaps you're just gonna have to tell me :-|&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;-- &lt;br/&gt;Adam&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:f9fe479b-f630-45c3-80b9-b124fdec4fb6] --&gt;</description>
      <pubDate>Tue, 06 May 2014 08:26:11 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6357367?tstart=0#6357367</guid>
      <dc:date>2014-05-06T08:26:11Z</dc:date>
      <clearspace:dateToText>6 months 1 week ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: ColdFusion 11: cfclient ports a lot of CFML functions to JS</title>
      <link>https://forums.adobe.com/message/6357289?tstart=0#6357289</link>
      <description>&lt;!-- [DocumentBodyStart:876eacf8-18ac-44d6-bfa7-b063b6cb7ca3] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hello Adam,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;An ER is logged to load cffunctions.js only when its required/used by application.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Akhila.&lt;/p&gt;&lt;p&gt;Adobe ColdFusion Engineering Team.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:876eacf8-18ac-44d6-bfa7-b063b6cb7ca3] --&gt;</description>
      <pubDate>Tue, 06 May 2014 08:17:51 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6357289?tstart=0#6357289</guid>
      <dc:date>2014-05-06T08:17:51Z</dc:date>
      <clearspace:dateToText>6 months 1 week ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: ColdFusion 11: &lt;cfclient&gt;... how does normal CFML code and &lt;cfclient&gt; code interact?</title>
      <link>https://forums.adobe.com/message/6354683?tstart=0#6354683</link>
      <description>&lt;!-- [DocumentBodyStart:40c64205-7e45-4a0c-a9b0-08a6be0205a2] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi Adam,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;When you write code inside &amp;lt;cfclient&amp;gt;, it is translated to java script. It cannot access server side variables(defined outside cfclient).&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;code style="font-weight: inherit; font-style: inherit;"&gt;&amp;lt;script&amp;gt; message = "G'day World"; &amp;lt;/script&amp;gt; &amp;lt;cfclient&amp;gt; &amp;lt;cfoutput&amp;gt;#message#&amp;lt;/cfoutput&amp;gt; &amp;lt;/cfclient&amp;gt; &lt;/code&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The above code works because, message is defined in a script block and client side CFML is interoprable with javascript. So client side CFML can use variables, functions defined in javascript blocks.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Paul&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:40c64205-7e45-4a0c-a9b0-08a6be0205a2] --&gt;</description>
      <pubDate>Mon, 05 May 2014 14:26:40 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6354683?tstart=0#6354683</guid>
      <dc:date>2014-05-05T14:26:40Z</dc:date>
      <clearspace:dateToText>6 months 1 week ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: ColdFusion 11: cfclient ports a lot of CFML functions to JS</title>
      <link>https://forums.adobe.com/message/6354681?tstart=0#6354681</link>
      <description>&lt;!-- [DocumentBodyStart:86d43c97-b898-46db-ae70-af9cd6df5449] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi Adam,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;cffunctions.js contains all the supported inbuilt CFFunctions in the javascript form.&lt;/p&gt;&lt;p&gt;This file is added as a script source in the pages where cfclient is used. This is included, so that you can use the supported CF functions in the cfclient.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Right now, coldfusion does not check whether the built in functions are used to add the script source.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This is done only for the phonegap device plugins and device detection plugins. i.e., the device API plugins and device detection plugins are included only when they are used in your code. But cffunctions.js is always included. But this is definitely an enhancement that we are looking to implement later.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The functions defined in the cffunctions.js are not namespaced. If it is namespaced, you would have to add the namespace while using a function inside cfclient.&lt;/p&gt;&lt;p&gt;These functions are not namespaced, so that you can use the same syntax for using a function inside and outside the cfclient block.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Paul&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:86d43c97-b898-46db-ae70-af9cd6df5449] --&gt;</description>
      <pubDate>Mon, 05 May 2014 14:21:11 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6354681?tstart=0#6354681</guid>
      <dc:date>2014-05-05T14:21:11Z</dc:date>
      <clearspace:dateToText>6 months 1 week ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>ColdFusion 11: cfclient ports a lot of CFML functions to JS</title>
      <link>https://forums.adobe.com/message/6350596?tstart=0#6350596</link>
      <description>&lt;!-- [DocumentBodyStart:e6497a31-e808-49ef-a170-d26bc03cad05] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;G'day:&lt;/p&gt;&lt;p&gt;I am reposting this from my blog ("&lt;a class="jive-link-external-small" href="http://cfmlblog.adamcameron.me/2014/04/coldfusion-11-cfclient-ports-lot-of.html" rel="nofollow"&gt;ColdFusion 11: cfclient ports a lot of CFML functions to JS&lt;/a&gt;") at the suggestion of Adobe support:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;blockquote class="twitter-tweet" data-conversation="none" lang="en"&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="https://twitter.com/dacCfml" rel="nofollow"&gt;@dacCfml&lt;/a&gt; &lt;a class="jive-link-external-small" href="https://twitter.com/coldfusion" rel="nofollow"&gt;@ColdFusion&lt;/a&gt; Can you post your queries at &lt;a class="jive-link-external-small" href="http://t.co/8UF4uCajTC" rel="nofollow"&gt;http://t.co/8UF4uCajTC&lt;/a&gt; for all cfclient and mobile queries.&lt;/p&gt;&amp;#8212; Anit Kumar Panda (@anitkumar85) &lt;a class="jive-link-external-small" href="https://twitter.com/anitkumar85/statuses/461203317712879618" rel="nofollow"&gt;April 29, 2014&lt;/a&gt;&lt;/blockquote&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have edited this in places to remove language that will be deemed inappropriate by the censors here. Changes I have made are in [square brackets]. The forums software here has broken some of the styling, but so be it. There are comments back against the original article - linked to above - which are worth reading too.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;G'day:&lt;br/&gt;I will start this article - which won't be a long one - by stating I am an &lt;em&gt;adequate&lt;/em&gt; JavaScript developer, but I am by no means an expert. I'm at that stage wherein I'm au fait with the syntax and the nuts and bolts of writing OO-esque JS, but I don't spend enough time doing it to know the minutiae of "best practice" and don't automatically know the differences between the "best" way of doing something, and just "a way of doing something". Hence this article asks a question, rather than making any concrete statements.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;A few days ago I wrote my first &lt;code&gt;&amp;lt;cfclient&amp;gt;&lt;/code&gt; hello world (or in my case "G'day World") example. I'm not compiling it to a mobile app as I'm not really testing the ColdFusion Builder app packagings stuff (I simply don't care about that), I'm only interested in how &lt;code&gt;&amp;lt;cfclient&amp;gt;&lt;/code&gt; performs / works in the context of a tag in the CFML language. See this article for more on that: "&lt;a class="jive-link-external-small" href="http://cfmlblog.adamcameron.me/2014/04/coldfusion-11-cfclient-in-context-of.html" rel="nofollow"&gt;ColdFusion 11: &lt;code&gt;&amp;lt;cfclient&amp;gt;&lt;/code&gt; in the context of the CFML language, not the tooling&lt;/a&gt;".&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;One thing I noticed in my "G'day World" code, is that to output those 11 bytes on the screen, &lt;code&gt;&amp;lt;cfclient&amp;gt;&lt;/code&gt; loads around 128kB of data, in the form of various tracts of line code and external libraries. Describing this as "egregious" is an understatement.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;One of the libraries particularly caught my interest, as it's called "cffunctions.js", and - as the name suggests - contains a port of &lt;span style="text-decoration: line-through;"&gt;all&lt;/span&gt;a lot of CFML's built-in functions to JS.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;My first observation is its inclusion is completely unnecessary as I'm not &lt;em&gt;using&lt;/em&gt; any functions in my code, and it would be reasonable to think that the &lt;code&gt;&amp;lt;cfclient&amp;gt;&lt;/code&gt; CFML to JS compiler might notice that and save people a download. Secondly... it's a single, monolithic 106kB file. Let's have a look at it:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="height: 600px; overflow: scroll; padding-left: 30px;"&gt; &lt;/div&gt;&lt;p style="padding-left: 30px;"&gt;&lt;br/&gt;Well actually when I suggest &lt;em&gt;we&lt;/em&gt; should have a look at it, I am actually inviting the JavaScript aficionados amongst us to offer their input. I'm not going to be able to lend much expert analysis to it.&lt;br/&gt;&lt;br/&gt;Observations I will make:&lt;/p&gt;&lt;ol style="padding-left: 30px;"&gt;&lt;li&gt;as I said above: including this file when it's not necessary seems wrong.&lt;/li&gt;&lt;li&gt;Every single function is just slapped into one huge file. This to me seems equivalent to having a CFC called AllMyCode.cfc, containing... everything, including kitchen sinks and family pets.&lt;/li&gt;&lt;li&gt;Connected to that: the functions are all declared straight in the global scope, which seems a bit "pollute-y" to me. I can't help but think they ought to be grouped together in a CF namespace, within that some sort of type-centric namespace like &lt;code&gt;CF.List.listAppend()&lt;/code&gt;, &lt;code&gt;CF.Math.abs()&lt;/code&gt; etc?&lt;/li&gt;&lt;li&gt;A lot of the code seems rather "longhand", eg: &lt;code&gt;someVar = SomeVar+1&lt;/code&gt; instead of perhaps &lt;code&gt;someVar++&lt;/code&gt;; using an indexed &lt;code&gt;for()&lt;/code&gt; loop to loop over arrays etc.&lt;/li&gt;&lt;li&gt;The file's not minified: this would almost halve its size. I dunno if this is such a consideration these days with responses being GZipped?&lt;/li&gt;&lt;/ol&gt;&lt;p style="padding-left: 30px;"&gt;&lt;br/&gt;Is there anything else you've spotted?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;I might sound a bit nit-picky here (hey: it would not be the first time, and someone needs to ask these questions), but equally if I want someone writing a wizard to write my JS for me, then I want to know that person actually knows what they're doing. And if &lt;em&gt;I&lt;/em&gt; can raise code-quality questions... I suspect the answer is I don't want this person writing my JS for me.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;But I completely accept that perhaps there's not an issue to answer here... this article is more soliciting other - more expert - people's opinions.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;What do you think?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;-- &lt;br/&gt;Adam&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:e6497a31-e808-49ef-a170-d26bc03cad05] --&gt;</description>
      <pubDate>Sat, 03 May 2014 15:51:52 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6350596?tstart=0#6350596</guid>
      <dc:date>2014-05-03T15:51:52Z</dc:date>
      <clearspace:dateToText>6 months 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>5</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>ColdFusion 11: &lt;cfclient&gt;... how does normal CFML code and &lt;cfclient&gt; code interact?</title>
      <link>https://forums.adobe.com/message/6350595?tstart=0#6350595</link>
      <description>&lt;!-- [DocumentBodyStart:42c85535-9943-45d0-bfbb-365f810bdded] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;G'day:&lt;/p&gt;&lt;p&gt;I am reposting this from my blog ("&lt;a class="jive-link-external-small" href="http://cfmlblog.adamcameron.me/2014/04/coldfusion-11-cfclient-how-does-normal.html" rel="nofollow"&gt;ColdFusion 11: ... how does normal CFML code and&amp;nbsp; code interact?&lt;/a&gt;") at the suggestion of Adobe support:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;blockquote class="twitter-tweet" data-conversation="none" lang="en"&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="https://twitter.com/dacCfml" rel="nofollow"&gt;@dacCfml&lt;/a&gt; &lt;a class="jive-link-external-small" href="https://twitter.com/coldfusion" rel="nofollow"&gt;@ColdFusion&lt;/a&gt; Can you post your queries at &lt;a class="jive-link-external-small" href="http://t.co/8UF4uCajTC" rel="nofollow"&gt;http://t.co/8UF4uCajTC&lt;/a&gt; for all cfclient and mobile queries.&lt;/p&gt;&amp;#8212; Anit Kumar Panda (@anitkumar85) &lt;a class="jive-link-external-small" href="https://twitter.com/anitkumar85/statuses/461203317712879618" rel="nofollow"&gt;April 29, 2014&lt;/a&gt;&lt;/blockquote&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have edited this in places to remove language that will be deemed inappropriate by the censors here. Changes I have made are in [square brackets]. The forums software here has broken some of the styling, but so be it.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;G'day:&lt;br/&gt;Another quick one. I'm raising these quick-fire questions here because Adobe have declined to suggest a better place to raise them, other than as comments on one of their blog entries. Well that was &lt;a class="jive-link-external-small" href="http://blogs.coldfusion.com/post.cfm/coldfusion-splendor-when-to-use-invokecfclientfunction#comment-7CD38A73-C83B-CF1E-7D8CBE34AFB40E7A" rel="nofollow"&gt;Ram's suggestion&lt;/a&gt; (which I don't think is terribly-well thought out). He declined to react to my suggestion that the Adobe ColdFusion forums might be a good place. Anit suggested Twitter or just emailing him, but I think there'd be public interest in this stuff, so don't want to resort to email.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;As I'm the master of what goes on on this blog: I'll clutter this thing up.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;Say I want to have a mix of "normal" CFML and &lt;code&gt;&amp;lt;cfclient&amp;gt;&lt;/code&gt;-based CFML in the same file. I can only presume the intent is to allow this, otherwise having &lt;code&gt;&amp;lt;cfclient&amp;gt;&lt;/code&gt; as a &lt;em&gt;tag&lt;/em&gt; rather than just a file extension seems like a poor approach. Obviously if one can have a start tag and an end tag, then code can come before (and I guess after) the &lt;code&gt;&amp;lt;cfclient&amp;gt;&lt;/code&gt; tags themselves.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;So I'd expect this to work:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;pre class="source-code" style="padding-left: 30px;"&gt;&lt;code&gt;&amp;lt;cfset message = "G'day World"&amp;gt; &amp;lt;cfclient&amp;gt; &amp;lt;cfoutput&amp;gt;#message#&amp;lt;/cfoutput&amp;gt; &amp;lt;/cfclient&amp;gt; &lt;/code&gt;&lt;/pre&gt;&lt;p style="padding-left: 30px;"&gt;&lt;br/&gt;However all I get is an error in JS:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;div class="console-group" style="-webkit-text-stroke-width: 0px; background-color: white; box-sizing: border-box; color: #222222; font-family: Consolas, 'Lucida Console', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; position: relative; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; padding-left: 30px;"&gt;&lt;div class="console-group-messages" style="box-sizing: border-box;"&gt;&lt;div class="console-error-level console-message" style="border-bottom-color: #f0f0f0; border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; clear: right; margin-left: 24px; min-height: 16px; padding: 1px 22px 1px 0px; position: relative;"&gt;&lt;ol class="outline-disclosure" style="-webkit-padding-start: 12px; box-sizing: border-box; font-size: inherit; line-height: 12px; list-style-type: none; margin: 0px; padding-left: 0px;"&gt;&lt;li class="parent" style="box-sizing: border-box; margin-left: -12px; margin-top: 1px; padding: 0px 0px 0px 14px; word-wrap: break-word;" title=""&gt;&lt;span class="console-message-text source-code" style="box-sizing: border-box; color: red !important; font-family: Consolas, 'Lucida Console', monospace; font-size: 12px !important; white-space: pre-wrap;"&gt;&lt;span style="box-sizing: border-box;"&gt;Uncaught ReferenceError: message is not defined&lt;/span&gt; &lt;a class="jive-link-external-small" href="https://www.blogger.com/null" rel="nofollow"&gt;variablesScopeVariable.cfm:4&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style="padding-left: 30px;"&gt;&lt;br/&gt;And, indeed, the only mention of &lt;code&gt;message&lt;/code&gt; in the JS source is the one that's erroring (as it's on the right-hand side of an assignment).&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;So I thought perhaps &lt;code&gt;&amp;lt;cfclient&amp;gt;&lt;/code&gt; worked like &lt;code&gt;&amp;lt;cfthread&amp;gt;&lt;/code&gt; and I needed to pass attributes into it:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;pre class="source-code" style="padding-left: 30px;"&gt;&lt;code&gt;&amp;lt;cfset message = "G'day World"&amp;gt; &amp;lt;cfclient&lt;span style="background-color: #ea9999;"&gt; message="#message#"&lt;/span&gt;&amp;gt; &amp;lt;cfoutput&amp;gt;#message#&amp;lt;/cfoutput&amp;gt; &amp;lt;/cfclient&amp;gt; &lt;/code&gt;&lt;/pre&gt;&lt;p style="padding-left: 30px;"&gt;&lt;br/&gt;This doesn't compile:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table border="0" cellpadding="0" cellspacing="0" style="background-color: #e7e7e7; font-family: verdana; width: 500px; padding-left: 30px;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td align="left" style="border:0px solid black;" valign="middle" width="500"&gt;&lt;h1 style="font-size: 13pt; font-weight: normal; line-height: 15pt;"&gt;Attribute validation error for the &lt;span style="background-color: #f9cb9c;"&gt;client&lt;/span&gt; tag.&lt;/h1&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td colspan="2" style="border:0px solid black;" width="400"&gt;&lt;span style="font-size: 8pt; line-height: 11pt;"&gt;The tag does not have an attribute called message. The valid attribute(s) are ''.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td height="" style="border:0px solid black;"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td colspan="2" style="border:0px solid black;" width="400"&gt;&lt;span style="font-size: 8pt; line-height: 11pt;"&gt;&lt;strong&gt;&lt;em&gt;ColdFusion cannot determine the line of the template that caused this error.&lt;/em&gt;&lt;/strong&gt;&lt;em&gt;This is often caused by an error in the exception handling subsystem.&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="padding-left: 30px;"&gt;&lt;br/&gt;Note also there's an error in the error message itself. It's not the &lt;code&gt;&amp;lt;client&amp;gt;&lt;/code&gt; tag, it's the &lt;code&gt;&amp;lt;&lt;em&gt;cf&lt;/em&gt;client&amp;gt;&lt;/code&gt; tag.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;Rightio then, so I tried just using the request scope instead (the code's the same as the variables-scoped example, except using the request scope). No dice: same JS error.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;As a last ditch effort, I just tried to see if &lt;code&gt;&amp;lt;cfclient&amp;gt;&lt;/code&gt; was aware of &lt;em&gt;anything&lt;/em&gt; going on around it, by passing a value on the URL, and seeing if &lt;code&gt;&amp;lt;cfclient&amp;gt;&lt;/code&gt; saw &lt;em&gt;that&lt;/em&gt;, eg:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;pre class="source-code" style="padding-left: 30px;"&gt;&lt;code&gt;&amp;lt;cfclient&amp;gt; &amp;lt;cfoutput&amp;gt;#URL.message#&amp;lt;/cfoutput&amp;gt; &amp;lt;/cfclient&amp;gt; &lt;/code&gt;&lt;/pre&gt;&lt;p style="padding-left: 30px;"&gt;&lt;br/&gt;This behaved differently from the variables- / request- scoped examples, in that I didn't get a JS error, I just got this on the screen:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;undefined&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;And no JS error. It pains me to have to do this, but let's look at the generated JS to see why the behaviour is different:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;Variables scope example:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;pre class="source-code" style="padding-left: 30px;"&gt;&lt;code&gt;&amp;lt;script type="text/javascript" src="/CFIDE/cfclient/cfclient_main.js"&amp;gt;&amp;lt;/script&amp;gt; &amp;lt;script type="text/javascript" src="/CFIDE/cfclient/cffunctions.js"&amp;gt;&amp;lt;/script&amp;gt; &amp;lt;meta name="viewport" content="width=device-width"&amp;gt; &amp;lt;script type='text/javascript'&amp;gt; globalDivStruct=null; var _$variablesScopeVariable_func=function(){&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var self=this;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var variables={};&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.__init=function(){&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var localdivstruct=globalDivStruct;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var __output_var="";&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var tmpVarArray={};&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="background-color: #d5a6bd;"&gt;localdivstruct.outputvar+=message;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return""&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } }; function __startPage__$variablesScopeVariable(){&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; document.write("\x3cdiv id\x3d'__cfclient_0'\x3e\x3c/div\x3e");&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; window.ispgbuild=false;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var clientDivStruct={&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; divId&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : "__cfclient_0",&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outputvar&amp;nbsp;&amp;nbsp;&amp;nbsp; :""&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; globalDivStruct=clientDivStruct;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try{&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _$variablesScopeVariable=new _$variablesScopeVariable_func;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _$variablesScopeVariable.__init()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; catch(__eArg){&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(__eArg!=="$$$cfclient_abort$$$")&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; throw __eArg;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; __$cf.__flush(clientDivStruct) } __startPage__$variablesScopeVariable(); &amp;lt;/script&amp;gt; &lt;/code&gt;&lt;/pre&gt;&lt;p style="padding-left: 30px;"&gt;&lt;br/&gt;The only significant difference (other than function names, based on the file names) between this and the URL-scoped example is the indicated line above is replaced by this in the URL example:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;pre class="source-code" style="padding-left: 30px;"&gt;&lt;code&gt;localdivstruct.outputvar+=__$cf.__arrayGet(URL,"message",true); &lt;/code&gt;&lt;/pre&gt;&lt;p style="padding-left: 30px;"&gt;&lt;br/&gt;So it's like it's &lt;em&gt;trying&lt;/em&gt; to do the right thing, but just failing. I thought it might be because CF does stupid thinks with scope-key casing, and changed the &lt;code&gt;&amp;lt;cfclient&amp;gt;&lt;/code&gt; code to expect &lt;code&gt;URL.MESSAGE&lt;/code&gt; not &lt;code&gt;URL.message&lt;/code&gt;, but this didn't work either.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;So I'm flummoxed. I can't find anything in any documentation which might point me in the right direction, so anyone know what the story is here?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;div class="updateBox" style="padding-left: 30px;"&gt;&lt;h4&gt;Update:&lt;/h4&gt;At Joel's suggestion I tried this:&lt;br/&gt;&lt;pre class="source-code"&gt;&lt;code&gt;&amp;lt;script&amp;gt; message = "G'day World"; &amp;lt;/script&amp;gt; &amp;lt;cfclient&amp;gt; &amp;lt;cfoutput&amp;gt;#message#&amp;lt;/cfoutput&amp;gt; &amp;lt;/cfclient&amp;gt; &lt;/code&gt;&lt;/pre&gt;&lt;br/&gt;&lt;em&gt;This&lt;/em&gt;worked. Which elicits from me a mixture of "heh: cute" and "this is an abomination".&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;-- &lt;br/&gt;Adam&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:42c85535-9943-45d0-bfbb-365f810bdded] --&gt;</description>
      <pubDate>Sat, 03 May 2014 15:48:56 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6350595?tstart=0#6350595</guid>
      <dc:date>2014-05-03T15:48:56Z</dc:date>
      <clearspace:dateToText>6 months 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>5</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>ColdFusion 11: &lt;cfclient&gt; seems to require /CFIDE to be available</title>
      <link>https://forums.adobe.com/message/6350547?tstart=0#6350547</link>
      <description>&lt;!-- [DocumentBodyStart:fd1ca7c6-15fc-4fc6-b321-44619b205833] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;G'day:&lt;/p&gt;&lt;p&gt;I am reposting this from my blog ("&lt;a class="jive-link-external-small" href="http://cfmlblog.adamcameron.me/2014/04/coldfusion-11-cfclient-seems-to-require.html" rel="nofollow"&gt;ColdFusion 11: &amp;lt;cfclient&amp;gt; seems to require /CFIDE to be available&lt;/a&gt;") at the suggestion of Adobe support:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;blockquote class="twitter-tweet" data-conversation="none" lang="en"&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="https://twitter.com/dacCfml" rel="nofollow"&gt;@dacCfml&lt;/a&gt; &lt;a class="jive-link-external-small" href="https://twitter.com/coldfusion" rel="nofollow"&gt;@ColdFusion&lt;/a&gt; Can you post your queries at &lt;a class="jive-link-external-small" href="http://t.co/8UF4uCajTC" rel="nofollow"&gt;http://t.co/8UF4uCajTC&lt;/a&gt; for all cfclient and mobile queries.&lt;/p&gt;&amp;#8212; Anit Kumar Panda (@anitkumar85) &lt;a class="jive-link-external-small" href="https://twitter.com/anitkumar85/statuses/461203317712879618" rel="nofollow"&gt;April 29, 2014&lt;/a&gt;&lt;/blockquote&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have edited this in places to remove language that will be deemed inappropriate by the censors here. Changes I have made are in [square brackets]. The forums software here has broken some of the styling, but so be it.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;G'day:&lt;br/&gt;This will be a short one... I just want to trot out various observations I make about &lt;code&gt;&amp;lt;cfclient&amp;gt;&lt;/code&gt; as I make them. I don't want to waste too much effort on it.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;I also feel a bit dirty round about now... I'm about to use a &lt;code&gt;&amp;lt;cfform&amp;gt;&lt;/code&gt; tag.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;As should everyone, I do not expose &lt;code&gt;/CFIDE&lt;/code&gt; to the outside world. This is a terrible vector for security vulnerabilities. One that Adobe seems to be dragging its heels about resolving once and for all ("&lt;a class="jive-link-external-small" href="https://bugbase.adobe.com/index.cfm?event=bug&amp;amp;id=3732913" rel="nofollow"&gt;Isolate the /CFIDE/scripts directory from the rest of /CFIDE" (3732913)&lt;/a&gt;).&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;So when I'm using &lt;code&gt;&amp;lt;cfform&amp;gt;&lt;/code&gt; (which is only ever when I am writing example code like this), I need to redirect ColdFusion to look in my &lt;span style="background-color: #ea9999;"&gt;isolated directory&lt;/span&gt; which just has the script stuff in it:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;pre class="source-code" style="padding-left: 30px;"&gt;&lt;code&gt;&amp;lt;cfajaximport scriptsrc="&lt;span style="background-color: #ea9999;"&gt;/lib/js/CF/scripts&lt;/span&gt;"&amp;gt; &amp;lt;cfform method="post" action="#CGI.script_name#"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;cfinput type="dateField" name="date"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;input type="submit" name="submitButton" value="Go"&amp;gt; &amp;lt;/cfform&amp;gt; &amp;lt;cfdump var="#form#"&amp;gt; &lt;/code&gt;&lt;/pre&gt;&lt;p style="padding-left: 30px;"&gt;&lt;br/&gt;Note: &lt;strong&gt;do not use &lt;code&gt;&amp;lt;cfform&amp;gt;&lt;/code&gt; or any of ColdFusion's other UI wizard tags. Just don't. See here: "&lt;a class="jive-link-external-small" href="https://github.com/cfjedimaster/ColdFusion-UI-the-Right-Way" rel="nofollow"&gt;ColdFusion UI the Right Way&lt;/a&gt;", here: "&lt;a class="jive-link-external-small" href="http://www.raymondcamden.com/index.cfm/2014/1/23/Im-not-going-to-tell-you-to-stop-using-ColdFusion-UI-tags-anymore" rel="nofollow"&gt;I'm not going to tell you to stop using ColdFusion UI tags anymore...&lt;/a&gt;", and here: "&lt;a class="jive-link-external-small" href="http://cfmlblog.adamcameron.me/2014/01/oi-you-bloody-wankers-stop-using.html" rel="nofollow"&gt;Oi! You [naughty] [people]! Stop using ColdFusion UI controls&lt;/a&gt;".&lt;/strong&gt;&lt;br/&gt;&lt;strong&gt;&lt;br/&gt;&lt;/strong&gt;Anyway, back to the code. The poorly-named &lt;a class="jive-link-external-small" href="https://wikidocs.adobe.com/wiki/display/coldfusionen/cfajaximport" rel="nofollow"&gt;&lt;code&gt;&amp;lt;cfajaximport&amp;gt;&lt;/code&gt;&lt;/a&gt; tag allows one to point ColdFusion at a different, isolated directory. That's quite handy.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;Now I try it with my &lt;code&gt;&amp;lt;cfclient&amp;gt;&lt;/code&gt; code:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;pre class="source-code" style="padding-left: 30px;"&gt;&lt;code&gt;&amp;lt;cfajaximport scriptsrc="/lib/js/CF/scripts"&amp;gt; &amp;lt;cfclient&amp;gt; &amp;lt;cfset message = "G'day World"&amp;gt; &amp;lt;cfoutput&amp;gt;#message#&amp;lt;/cfoutput&amp;gt; &amp;lt;/cfclient&amp;gt; &lt;/code&gt;&lt;/pre&gt;&lt;p style="padding-left: 30px;"&gt;&lt;br/&gt;and I get this:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table border="1" cellspacing="0" style="padding-left: 30px;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border:1px solid black;"&gt;14:46:11.292&lt;/td&gt;&lt;td style="border:1px solid black;"&gt;GET&lt;/td&gt;&lt;td style="border:1px solid black;"&gt;&lt;a class="jive-link-external-small" href="http://localhost:8511" rel="nofollow"&gt;http://localhost:8511&lt;/a&gt;&lt;span&gt; /shared/scratch/blogExamples/coldfusion&lt;/span&gt;&lt;br/&gt;/CF11/cfclient/moveScriptDir.cfm&lt;/td&gt;&lt;td style="border:1px solid black;"&gt;[HTTP/1.1 200 OK 284ms]&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;"&gt;14:46:11.655&lt;/td&gt;&lt;td style="border:1px solid black;"&gt;GET&lt;/td&gt;&lt;td style="border:1px solid black;"&gt;&lt;a class="jive-link-external-small" href="http://localhost:8511" rel="nofollow"&gt;http://localhost:8511&lt;/a&gt;&lt;span&gt; /lib/js/CF/scripts/ajax/messages/cfmessage.js&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;"&gt;[HTTP/1.1 200 OK 5ms]&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;"&gt;14:46:11.655&lt;/td&gt;&lt;td style="border:1px solid black;"&gt;GET&lt;/td&gt;&lt;td style="border:1px solid black;"&gt;&lt;a class="jive-link-external-small" href="http://localhost:8511" rel="nofollow"&gt;http://localhost:8511&lt;/a&gt;&lt;span&gt; /lib/js/CF/scripts/ajax/package/cfajax.js&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;"&gt;[HTTP/1.1 200 OK 10ms]&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;"&gt;&lt;span style="color: red;"&gt;14:46:11.656&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;"&gt;&lt;span style="color: red;"&gt;GET&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;"&gt;&lt;span style="color: red;"&gt;&lt;a class="jive-link-external-small" href="http://localhost:8511" rel="nofollow"&gt;http://localhost:8511&lt;/a&gt;&lt;span style="background-color: #ffe599;"&gt;/CFIDE/cfclient/&lt;/span&gt;cfclient_main.js&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;"&gt;&lt;span style="color: red;"&gt;[HTTP/1.1 &lt;span style="background-color: yellow;"&gt;404&lt;/span&gt; /CFIDE/cfclient/cfclient_main.js 3ms]&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;"&gt;&lt;span style="color: red;"&gt;14:46:11.656&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;"&gt;&lt;span style="color: red;"&gt;GET&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;"&gt;&lt;span style="color: red;"&gt;&lt;a class="jive-link-external-small" href="http://localhost:8511/CFIDE/cfclient/cffunctions.js" rel="nofollow"&gt;http://localhost:8511/CFIDE/cfclient/cffunctions.js&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;"&gt;&lt;span style="color: red;"&gt;[HTTP/1.1 &lt;span style="background-color: yellow;"&gt;404&lt;/span&gt; /CFIDE/cfclient/cffunctions.js 3ms]&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;"&gt;&lt;span style="color: red;"&gt;14:46:11.657&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;"&gt;&lt;span style="color: red;"&gt;GET&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;"&gt;&lt;span style="color: red;"&gt;&lt;a class="jive-link-external-small" href="http://localhost:8511/CFIDE/cfclient/cfclient_main.js" rel="nofollow"&gt;http://localhost:8511/CFIDE/cfclient/cfclient_main.js&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;"&gt;&lt;span style="color: red;"&gt;[HTTP/1.1 &lt;span style="background-color: yellow;"&gt;404&lt;/span&gt; /CFIDE/cfclient/cfclient_main.js 1ms]&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;"&gt;&lt;span style="color: red;"&gt;14:46:11.657&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;"&gt;&lt;span style="color: red;"&gt;GET&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;"&gt;&lt;span style="color: red;"&gt;&lt;a class="jive-link-external-small" href="http://localhost:8511/CFIDE/cfclient/cffunctions.js" rel="nofollow"&gt;http://localhost:8511/CFIDE/cfclient/cffunctions.js&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;"&gt;&lt;span style="color: red;"&gt;[HTTP/1.1 &lt;span style="background-color: yellow;"&gt;404&lt;/span&gt; /CFIDE/cfclient/cffunctions.js 0ms]&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="padding-left: 30px;"&gt;&lt;br/&gt;Groan. Because &lt;code&gt;&amp;lt;cfclient&amp;gt;&lt;/code&gt; doesn't put its script files in the scripts dir, does it? No. Of course it doesn't. Muppets.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;But this could still be solved if one could specify some other way of pointing it to a different location for its resources, but... no. There's not a way of doing this that I can find. Short of [messing] around on the web server and setting up virtual directories pointing to &lt;code&gt;/CFIDE/cfclient&lt;/code&gt;. This isn't really a hardship, but still, it just shouldn't be necessary, and I can't help but think this is a bit sloppy on the part of Adobe.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;It also demonstrates that for their internal testing they don't test this sort of thing. Which is odd, as it's the &lt;em&gt;second&lt;/em&gt; thing I tested: you know, that it even &lt;em&gt;works&lt;/em&gt; on a secured server.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;That's it. I've nothing else to say on this topic. I'll raise a bug for this shortly, once I have the article published so I can refer back to it: &lt;a class="jive-link-external-small" href="https://bugbase.adobe.com/index.cfm?event=bug&amp;amp;id=3750729" rel="nofollow"&gt;3750729&lt;/a&gt;.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;--&lt;br/&gt;Adam&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:fd1ca7c6-15fc-4fc6-b321-44619b205833] --&gt;</description>
      <pubDate>Sat, 03 May 2014 15:43:54 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6350547?tstart=0#6350547</guid>
      <dc:date>2014-05-03T15:43:54Z</dc:date>
      <clearspace:dateToText>6 months 2 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>ColdFusion 11: &lt;cfclient&gt; in the context of the CFML language, not the tooling</title>
      <link>https://forums.adobe.com/message/6350543?tstart=0#6350543</link>
      <description>&lt;!-- [DocumentBodyStart:1e52cf72-0304-49a2-9355-ec319a534bd4] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;G'day:&lt;/p&gt;&lt;p&gt;I am reposting this from my blog ("&lt;a class="jive-link-external-small" href="http://cfmlblog.adamcameron.me/2014/04/coldfusion-11-cfclient-in-context-of.html" rel="nofollow"&gt;ColdFusion 11: &amp;lt;cfclient&amp;gt; in the context of the CFML language, not the tooling&lt;/a&gt;") at the suggestion of Adobe support:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;blockquote class="twitter-tweet" data-conversation="none" lang="en"&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="https://twitter.com/dacCfml" rel="nofollow"&gt;@dacCfml&lt;/a&gt; &lt;a class="jive-link-external-small" href="https://twitter.com/coldfusion" rel="nofollow"&gt;@ColdFusion&lt;/a&gt; Can you post your queries at &lt;a class="jive-link-external-small" href="http://t.co/8UF4uCajTC" rel="nofollow"&gt;http://t.co/8UF4uCajTC&lt;/a&gt; for all cfclient and mobile queries.&lt;/p&gt;&amp;#8212; Anit Kumar Panda (@anitkumar85) &lt;a class="jive-link-external-small" href="https://twitter.com/anitkumar85/statuses/461203317712879618" rel="nofollow"&gt;April 29, 2014&lt;/a&gt;&lt;/blockquote&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have edited this in places to remove language that will be deemed inappropriate by the censors here. Changes I have made are in [square brackets]. The forums software here has broken some of the styling, but so be it. There is worthwhile discussion in the comments of the article on my blog: perhaps go have a read.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;G'day:&lt;br/&gt;This article could end up being a complete waste of space, as I am operating under more real-world re-interpretation of the raison d'&amp;ecirc;tre of &lt;code&gt;&amp;lt;cfclient&amp;gt;&lt;/code&gt;, &lt;a class="jive-link-external-small" href="http://blogs.coldfusion.com/post.cfm/coldfusion-splendor-when-to-use-invokecfclientfunction" rel="nofollow"&gt;as described by Ram&lt;/a&gt;:&lt;/p&gt;&lt;blockquote class="tr_bq" style="padding-left: 30px;"&gt;ColdFusion [11] has added support for client side CFML (&amp;lt;cfclient&amp;gt;) and this code is translated to JavaScript&lt;/blockquote&gt;&lt;p style="padding-left: 30px;"&gt;&lt;a class="jive-link-external-small" href="https://twitter.com/mikehenke" rel="nofollow"&gt;Mike Henke&lt;/a&gt; has &lt;a class="jive-link-external-small" href="http://blogs.coldfusion.com/post.cfm/coldfusion-splendor-when-to-use-invokecfclientfunction#comment-D53CCC3B-A81F-E2A1-E251B63FC7A7836F" rel="nofollow"&gt;pointed out&lt;/a&gt; that the first part of this "CF11 has added support for client-side CFML" is actually ******** (my wording, not his):&lt;/p&gt;&lt;blockquote class="tr_bq" style="padding-left: 30px;"&gt;"ColdFusion Splendor has added support for client side CFML" is probably phrased wrong and gave me flash backs to VBScript or CFML running in the client browser.&lt;br/&gt;Maybe this is better verbiage. "ColdFusion Splendor has added support for CFML to generate JS".&lt;/blockquote&gt;&lt;p style="padding-left: 30px;"&gt;Because... there's not such thing as "client-side CFML". That would imply CFML actually running on the client (ie: the browser, or the mobile device, as is the target of &lt;code&gt;&amp;lt;cfclient&amp;gt;&lt;/code&gt; as a concept). This is absolutely not true. I know Ram went on to qualify what he meant there, but the messaging from Adobe on &lt;code&gt;&amp;lt;cfclient&amp;gt;&lt;/code&gt; has been inaccurate. Possibly I think to the point of actual misrepresentation (in the legal sense, I mean).&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;What &lt;code&gt;&amp;lt;cfclient&amp;gt;&lt;/code&gt; does is... convert CFML code to JavaScript. So let's look at that idea.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;Why I say this article could be a complete waste of space is that I dunno if this &lt;em&gt;is&lt;/em&gt; the intent of &lt;code&gt;&amp;lt;cfclient&amp;gt;&lt;/code&gt;; because, really, the messaging from Adobe as to what &lt;code&gt;&amp;lt;cfclient&amp;gt;&lt;/code&gt; is for is very muddied. In general the narrative about it is bundled-in with various features of ColdFusion Builder 3.0, in regards to mobile application creation and packaging (and debugging, and all sort of stuff that sounds quite nice but I don't care about as I don't use CFB).&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;However &lt;code&gt;&amp;lt;cfclient&amp;gt;&lt;/code&gt; has to stand on its own merit in the CFML language, completely decoupled from CFB features. And as far as I can tell, Mike is right: as far as &lt;strong&gt;CFML&lt;/strong&gt; goes, &lt;code&gt;&amp;lt;cfclient&amp;gt;&lt;/code&gt; is a tag which tells ColdFusion to - instead of compiling to byte code - compiles the enclosed CFML code to JavaScript instead.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;This of course just sets my alarm klaxons going.&amp;nbsp; Because Adobe are (I choose my words carefully) &lt;em&gt;[not very good]&lt;/em&gt; at converting CFML to client-side code. This has been borne out by &lt;code&gt;&amp;lt;cfform&amp;gt;&lt;/code&gt;, &lt;code&gt;&amp;lt;cflayout&amp;gt;&lt;/code&gt;, &lt;code&gt;&amp;lt;cfpod&amp;gt;&lt;/code&gt; etc. Back in the days of CFMX7 the "CFML-to-client-side" wizards had some merit, because the client-side arena was still immature, and the team at Macromedia actually had some exposure to the idea of "website development", so they knew where the pain points were that they could possible ameliorate. Times have changed, and the client-side of things is probably now more mature an environment than CFML is - Javascript is probably are more coherent language than CFML is, now - and it is very very very clear that the current Adobe ColdFusion Team don't know the first thing about web development (they can't even write decent CFML for their own documentation, before we get onto how they'd be doing web work!), so they are completely out of their depth when it comes to addressing pain points that web devs might have these days. Not only have they not walked a mile in a web dev's shoes, they don't even - as far as I can tell - know what shoes are, or why someone would be wearing them.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;And &lt;code&gt;&amp;lt;cfclient&amp;gt;&lt;/code&gt; is a far more "meta" solution than &lt;code&gt;&amp;lt;cfform&amp;gt;&lt;/code&gt; or &lt;code&gt;&amp;lt;cfpod&amp;gt;&lt;/code&gt; were... at least the CFML-to-client-side solution there had a tangible target in mind. &lt;code&gt;&amp;lt;cfclient&amp;gt;&lt;/code&gt; has removed the targets, and is just a tag designed for converting general CFML to general JS. Yikes.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;600-odd words in, here's some code. This is the first-ever code I have written using &lt;code&gt;&amp;lt;cfclient&amp;gt;&lt;/code&gt;:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;pre class="source-code" style="padding-left: 30px;"&gt;&lt;code&gt;&amp;lt;cfclient&amp;gt; &amp;lt;cfset &lt;span style="background-color: #ea9999;"&gt;msg&lt;/span&gt; = "G'day World"&amp;gt; &amp;lt;cfoutput&amp;gt;#&lt;span style="background-color: #ea9999;"&gt;message&lt;/span&gt;#&amp;lt;/cfoutput&amp;gt; &amp;lt;/cfclient&amp;gt; &lt;/code&gt;&lt;/pre&gt;&lt;p style="padding-left: 30px;"&gt;&lt;br/&gt;So I'm off to a false start: I admit I'm sitting in the pub and I've had a few pints (probably four, I guess; this is "having some drinks before deciding to &lt;em&gt;actually&lt;/em&gt; drink this evening" sort of level for me), and I inadvertently [messed-up] my variable names here. And this did not yield a compile error. The error just fell through to JS, where it &lt;em&gt;did&lt;/em&gt; error&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;div class="console-group" style="-webkit-text-stroke-width: 0px; background-color: white; box-sizing: border-box; color: #222222; font-family: Consolas, 'Lucida Console', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; position: relative; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; padding-left: 30px;"&gt;&lt;div class="console-group-messages" style="box-sizing: border-box;"&gt;&lt;div class="console-error-level console-message" style="border-bottom-color: #f0f0f0; border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; clear: right; margin-left: 24px; min-height: 16px; padding: 1px 22px 1px 0px; position: relative;"&gt;&lt;ol class="outline-disclosure" style="-webkit-padding-start: 12px; box-sizing: border-box; font-size: inherit; line-height: 12px; list-style-type: none; margin: 0px; padding-left: 0px;"&gt;&lt;li class="parent" style="box-sizing: border-box; margin-left: -12px; margin-top: 1px; padding: 0px 0px 0px 14px; word-wrap: break-word;" title=""&gt;&lt;span class="console-message-text source-code" style="box-sizing: border-box; color: red !important; font-family: Consolas, 'Lucida Console', monospace; font-size: 12px !important; white-space: pre-wrap;"&gt;&lt;span style="box-sizing: border-box;"&gt;Uncaught ReferenceError: message is not defined&lt;/span&gt; &lt;a class="jive-link-external-small" href="https://www.blogger.com/null" rel="nofollow"&gt;gdayWorld.cfm:4&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style="padding-left: 30px;"&gt;&lt;br/&gt;If, in contrast, I tried this in CoffeeScript, I'd get this:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;div class="cliBox" style="padding-left: 30px;"&gt;coffee&amp;gt; msg = "G'day world"&lt;br/&gt;'G\'day world'&lt;br/&gt;coffee&amp;gt; alert msg&lt;br/&gt;undefined&lt;br/&gt;coffee&amp;gt;&lt;br/&gt;alert message&lt;br/&gt;ReferenceError: message is not defined&lt;br/&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at eval (eval at&amp;nbsp; (&lt;/span&gt;&lt;a class="jive-link-external-small" href="http://larryng.github.io/coffeescript-repl/js/main.js:96:26" rel="nofollow"&gt;http://larryng.github.io/coffeescript-repl/js/main.js:96:26&lt;/a&gt;&lt;span&gt;), :1:9)&lt;/span&gt;&lt;/div&gt;&lt;p style="padding-left: 30px;"&gt;&lt;br/&gt;Important note: I know &lt;em&gt;nothing&lt;/em&gt; about CoffeeScript - it seems like a solution to a non-existent problem to me - so I just googled "hello world coffeescript" and REPLed the code on &lt;a class="jive-link-external-small" href="http://larryng.github.io/coffeescript-repl/" rel="nofollow"&gt;http://larryng.github.io/coffeescript-repl/&lt;/a&gt;.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;The point is here is that ColdFusion, during the "compile" process should actually notice I am referencing a variable that doesn't exist. I'm OK with this being a runtime error in the normal CFML-compile process, because there could be many moving parts (and other files) involved in the runtime environment, but I don't think this is a valid notion with &lt;code&gt;&amp;lt;cfclient&amp;gt;&lt;/code&gt;? Or maybe it is?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;div class="updateBox" style="padding-left: 30px;"&gt;&lt;h4&gt;Update:&lt;/h4&gt;As Ray points out and Aaron agrees with below: I was being unduly harsh here... it's entirely reasonable for variables to be declared in other JS code elsewhere in the response.&lt;/div&gt;&lt;p style="padding-left: 30px;"&gt;&lt;br/&gt;Anyway, once I actually write my code properly, I get this:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&lt;code&gt;G'day World&lt;/code&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;On the screen. What CF actually sends back in the response is this:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;pre class="source-code" style="padding-left: 30px;"&gt;&lt;code&gt;&amp;lt;script type="text/javascript" src="/CFIDE/cfclient/cfclient_main.js"&amp;gt;&amp;lt;/script&amp;gt; &amp;lt;script type="text/javascript" src="/CFIDE/cfclient/cffunctions.js"&amp;gt;&amp;lt;/script&amp;gt; &amp;lt;meta name="viewport" content="width=device-width"&amp;gt; &amp;lt;script type='text/javascript'&amp;gt;globalDivStruct=null;var _$gdayWorld_func=function(){var self=this;var variables={};self.__init=function(){var localdivstruct=globalDivStruct;var __output_var="";var tmpVarArray={};message="G'day World";localdivstruct.outputvar+=message;return""}}; function __startPage__$gdayWorld(){document.write("\x3cdiv id\x3d'__cfclient_0'\x3e\x3c/div\x3e");window.ispgbuild=false;var clientDivStruct={divId:"__cfclient_0",outputvar:""};globalDivStruct=clientDivStruct;try{_$gdayWorld=new _$gdayWorld_func;_$gdayWorld.__init()}catch(__eArg){if(__eArg!=="$$$cfclient_abort$$$")throw __eArg;}__$cf.__flush(clientDivStruct)}__startPage__$gdayWorld(); &amp;lt;/script&amp;gt; &lt;/code&gt;&lt;/pre&gt;&lt;p style="padding-left: 30px;"&gt;&lt;br/&gt;[Blimey]. To output a string variable? Really? That's what you compile my CFML down to?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;Gobsmacked.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;And [forget] emotive things like "gobsmacked"... if one looks at the size of the response, it's 128kB to represent "G'day World" on the screen. 128kB might not be a great deal these days when it comes to a web page, but when it comes to rendering "G'day world", it's lunacy. And on a mobile phone - which intrinsically might be in an area in which one is paying a premium for data - it's just irresponsible. This is before we get to the point that it seriously should not take 128kB of data to render 11 bytes.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;hr style="padding-left: 30px;"/&gt;&lt;p style="padding-left: 30px;"&gt;&lt;br/&gt;Blimey. To be honest I was gonna try some more tricky CFML and see how it compiled, but I've run out of will to live (and I have to concede the beer is getting the better of me, and my laptop battery is almost dead). I'll continue this, but I will let this article stand or fall on its own merit; something &lt;code&gt;&amp;lt;cfclient&amp;gt;&lt;/code&gt; certainly seems to be unable to do, thusfar.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;I'll be back on the case with this tomorrow.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;--&lt;br/&gt;Adam&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:1e52cf72-0304-49a2-9355-ec319a534bd4] --&gt;</description>
      <pubDate>Sat, 03 May 2014 15:39:40 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6350543?tstart=0#6350543</guid>
      <dc:date>2014-05-03T15:39:40Z</dc:date>
      <clearspace:dateToText>6 months 2 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

