<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Aaron Greenlee&#039;s Blog</title>
	<atom:link href="http://aarongreenlee.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://aarongreenlee.com</link>
	<description>A blog to remember, share and help others improve their Web development skills.</description>
	<lastBuildDate>Wed, 03 Mar 2010 16:32:09 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Hello World 2.0 by aarongreenlee</title>
		<link>http://aarongreenlee.com/2009/12/29/hello-world-2-0/#comment-39</link>
		<dc:creator>aarongreenlee</dc:creator>
		<pubDate>Wed, 03 Mar 2010 16:32:09 +0000</pubDate>
		<guid isPermaLink="false">http://aarongreenlee.com/?p=13#comment-39</guid>
		<description>Thanks, Neil.

I must apologize. I released v. 2.1 without much testing as I was using ColdBox 3. Thanks for posting the bugs and their resolution.</description>
		<content:encoded><![CDATA[<p>Thanks, Neil.</p>
<p>I must apologize. I released v. 2.1 without much testing as I was using ColdBox 3. Thanks for posting the bugs and their resolution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Hello World 2.0 by Neil</title>
		<link>http://aarongreenlee.com/2009/12/29/hello-world-2-0/#comment-38</link>
		<dc:creator>Neil</dc:creator>
		<pubDate>Sun, 28 Feb 2010 15:53:29 +0000</pubDate>
		<guid isPermaLink="false">http://aarongreenlee.com/?p=13#comment-38</guid>
		<description>Hi Aaron.

I&#039;ve been trying to integrate scriptinclude into my ColdBox (2.6.4) app and I have been having problems.

I was first using version 1.0 and whenever I tried to output the resources/scripts, it just produced an empty string.

It was adding the item to the variables.instance.Javascript variable, and I could see that by using a cfdump straight after it had been added, but then when getting the items, the variable was empty.

I then found version 2.1 and tried using that, but it kept error-ing, saying &quot;The variable: resourceQueue is undefined in the request collection&quot; when trying to add a script block.

I then picked around in the plugin and noticed that when adding a rescource, the queue is declared with:

var queue 	= getResourceQueue();

but when adding a script, the queue is expected to have already been declared:

var queue = event.getValue(&#039;resourceQueue&#039;);

So I changed it so that it was declared in the same way as when adding a resource and it all started to work.
It works because the getResourceQueue() method checks for the existence of resourceQueue and if it doesn&#039;t exist, it creates it.

Just thought I&#039;d let you know about this and if this is due to me using the plugin incorrectly, please let me know.

For anyone who is looking for scriptinclude v2.1, you can find it at:
http://www.assembla.com/code/coldbox-community/subversion/nodes/plugins/scriptInclude?rev=12

If you are looking for version 1.0, you can find it in the ValidateThis package in the Trasnfer sample directory, at:
http://validatethis.riaforge.org/</description>
		<content:encoded><![CDATA[<p>Hi Aaron.</p>
<p>I&#8217;ve been trying to integrate scriptinclude into my ColdBox (2.6.4) app and I have been having problems.</p>
<p>I was first using version 1.0 and whenever I tried to output the resources/scripts, it just produced an empty string.</p>
<p>It was adding the item to the variables.instance.Javascript variable, and I could see that by using a cfdump straight after it had been added, but then when getting the items, the variable was empty.</p>
<p>I then found version 2.1 and tried using that, but it kept error-ing, saying &#8220;The variable: resourceQueue is undefined in the request collection&#8221; when trying to add a script block.</p>
<p>I then picked around in the plugin and noticed that when adding a rescource, the queue is declared with:</p>
<p>var queue 	= getResourceQueue();</p>
<p>but when adding a script, the queue is expected to have already been declared:</p>
<p>var queue = event.getValue(&#8216;resourceQueue&#8217;);</p>
<p>So I changed it so that it was declared in the same way as when adding a resource and it all started to work.<br />
It works because the getResourceQueue() method checks for the existence of resourceQueue and if it doesn&#8217;t exist, it creates it.</p>
<p>Just thought I&#8217;d let you know about this and if this is due to me using the plugin incorrectly, please let me know.</p>
<p>For anyone who is looking for scriptinclude v2.1, you can find it at:<br />
<a href="http://www.assembla.com/code/coldbox-community/subversion/nodes/plugins/scriptInclude?rev=12" rel="nofollow">http://www.assembla.com/code/coldbox-community/subversion/nodes/plugins/scriptInclude?rev=12</a></p>
<p>If you are looking for version 1.0, you can find it in the ValidateThis package in the Trasnfer sample directory, at:<br />
<a href="http://validatethis.riaforge.org/" rel="nofollow">http://validatethis.riaforge.org/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Hyrule ColdFusion 9 Data Validation for Objects by Andy Welsh</title>
		<link>http://aarongreenlee.com/2010/01/12/hyrule-coldfusion-9-data-validation-for-objects/#comment-34</link>
		<dc:creator>Andy Welsh</dc:creator>
		<pubDate>Thu, 25 Feb 2010 05:33:43 +0000</pubDate>
		<guid isPermaLink="false">http://aarongreenlee.com/?p=19#comment-34</guid>
		<description>Just dawned on me- is the email I submit these comments under not visible to you? :P</description>
		<content:encoded><![CDATA[<p>Just dawned on me- is the email I submit these comments under not visible to you? <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Hyrule ColdFusion 9 Data Validation for Objects by Andy Welsh</title>
		<link>http://aarongreenlee.com/2010/01/12/hyrule-coldfusion-9-data-validation-for-objects/#comment-33</link>
		<dc:creator>Andy Welsh</dc:creator>
		<pubDate>Mon, 22 Feb 2010 22:43:58 +0000</pubDate>
		<guid isPermaLink="false">http://aarongreenlee.com/?p=19#comment-33</guid>
		<description>@Aaron Thanks for the prompt reply- I&#039;d really appreciate a copy :D thanks amigo- good catch on the thread safe stuff, btw!</description>
		<content:encoded><![CDATA[<p>@Aaron Thanks for the prompt reply- I&#8217;d really appreciate a copy <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  thanks amigo- good catch on the thread safe stuff, btw!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Hyrule ColdFusion 9 Data Validation for Objects by aarongreenlee</title>
		<link>http://aarongreenlee.com/2010/01/12/hyrule-coldfusion-9-data-validation-for-objects/#comment-32</link>
		<dc:creator>aarongreenlee</dc:creator>
		<pubDate>Mon, 22 Feb 2010 11:41:50 +0000</pubDate>
		<guid isPermaLink="false">http://aarongreenlee.com/?p=19#comment-32</guid>
		<description>@Andy Dan e-mailed me back and said he would bring the code in. I know he was hoping to find a solution that did not involve an additional object, which, could be accomplished if the Validate method also returned any messages--but--thats a pretty big API change so I am not sure what he decided.

I have the code in Production now and can send you a copy if you wish.

Thanks.</description>
		<content:encoded><![CDATA[<p>@Andy Dan e-mailed me back and said he would bring the code in. I know he was hoping to find a solution that did not involve an additional object, which, could be accomplished if the Validate method also returned any messages&#8211;but&#8211;thats a pretty big API change so I am not sure what he decided.</p>
<p>I have the code in Production now and can send you a copy if you wish.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Hyrule ColdFusion 9 Data Validation for Objects by Andy Welsh</title>
		<link>http://aarongreenlee.com/2010/01/12/hyrule-coldfusion-9-data-validation-for-objects/#comment-31</link>
		<dc:creator>Andy Welsh</dc:creator>
		<pubDate>Mon, 22 Feb 2010 05:35:03 +0000</pubDate>
		<guid isPermaLink="false">http://aarongreenlee.com/?p=19#comment-31</guid>
		<description>Hi Aaron! I&#039;m interested in using Hyrule in a current project, obviously the bugs above are a concern- has Dan integrated your findings into the working repos, and if not, is it easy to throw your work and his together?

Cheers,
Andy</description>
		<content:encoded><![CDATA[<p>Hi Aaron! I&#8217;m interested in using Hyrule in a current project, obviously the bugs above are a concern- has Dan integrated your findings into the working repos, and if not, is it easy to throw your work and his together?</p>
<p>Cheers,<br />
Andy</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Hello World 2.0 by Neil</title>
		<link>http://aarongreenlee.com/2009/12/29/hello-world-2-0/#comment-16</link>
		<dc:creator>Neil</dc:creator>
		<pubDate>Tue, 02 Feb 2010 15:45:55 +0000</pubDate>
		<guid isPermaLink="false">http://aarongreenlee.com/?p=13#comment-16</guid>
		<description>Found the script include files on the ColdBox website, thanks for this great tool.</description>
		<content:encoded><![CDATA[<p>Found the script include files on the ColdBox website, thanks for this great tool.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Hello World 2.0 by Neil</title>
		<link>http://aarongreenlee.com/2009/12/29/hello-world-2-0/#comment-13</link>
		<dc:creator>Neil</dc:creator>
		<pubDate>Fri, 29 Jan 2010 22:50:04 +0000</pubDate>
		<guid isPermaLink="false">http://aarongreenlee.com/?p=13#comment-13</guid>
		<description>Hi Aaron.

Are the script include files gone forever? It&#039;s exactly what I am looking for for my ColdBox development and was gutted to see they had gone. If you still have the code, could you re-post?

Cheers,
Neil</description>
		<content:encoded><![CDATA[<p>Hi Aaron.</p>
<p>Are the script include files gone forever? It&#8217;s exactly what I am looking for for my ColdBox development and was gutted to see they had gone. If you still have the code, could you re-post?</p>
<p>Cheers,<br />
Neil</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Hello World 2.0 by aarongreenlee</title>
		<link>http://aarongreenlee.com/2009/12/29/hello-world-2-0/#comment-8</link>
		<dc:creator>aarongreenlee</dc:creator>
		<pubDate>Wed, 13 Jan 2010 01:28:27 +0000</pubDate>
		<guid isPermaLink="false">http://aarongreenlee.com/?p=13#comment-8</guid>
		<description>&lt;em&gt;I relocated this comment from another post: By: Thomas Dehli URL &lt;a href=&quot;http://sacredlotus.com&quot; rel=&quot;nofollow&quot;&gt;sacredlotus.com&lt;/a&gt; and &lt;a href=&quot;http://skytostreet.com&quot; rel=&quot;nofollow&quot;&gt;skytostreet.com&lt;/a&gt;&lt;/em&gt;

Hey Aaron,

I was just wondering if the server stuff had to do with why the scriptInclude.cfc posts were missing? Are you going to put those back up?

I actually think it&#039;s a great solution to adding scripts and styles. I have an extra method if you are interested. Simple, but it&#039;s useful for getting stuff like the Google maps api, etc...


I use it like this:
rc.scriptInclude.addExternalResource(file=&#039;http://www.google.com/jsapi?key=#getSetting(&quot;GoogleAPIKey&quot;)#&#039;,type=&#039;JS&#039;);






var write = arrayNew(1);
switch (arguments.type) {
case &#039;JS&#039;:
	arrayAppend(write, &quot;&quot;);
break;
case &#039;CSS&#039;:
	arrayAppend(write, &quot;&quot;);
break;
}
arrayAppend(variables.instance.queue[arguments.type], arrayToList(write,&quot;&quot;) );</description>
		<content:encoded><![CDATA[<p><em>I relocated this comment from another post: By: Thomas Dehli URL <a href="http://sacredlotus.com" rel="nofollow">sacredlotus.com</a> and <a href="http://skytostreet.com" rel="nofollow">skytostreet.com</a></em></p>
<p>Hey Aaron,</p>
<p>I was just wondering if the server stuff had to do with why the scriptInclude.cfc posts were missing? Are you going to put those back up?</p>
<p>I actually think it&#8217;s a great solution to adding scripts and styles. I have an extra method if you are interested. Simple, but it&#8217;s useful for getting stuff like the Google maps api, etc&#8230;</p>
<p>I use it like this:<br />
rc.scriptInclude.addExternalResource(file=&#8217;http://www.google.com/jsapi?key=#getSetting(&#8220;GoogleAPIKey&#8221;)#&#8217;,type=&#8217;JS&#8217;);</p>
<p>var write = arrayNew(1);<br />
switch (arguments.type) {<br />
case &#8216;JS&#8217;:<br />
	arrayAppend(write, &#8220;&#8221;);<br />
break;<br />
case &#8216;CSS&#8217;:<br />
	arrayAppend(write, &#8220;&#8221;);<br />
break;<br />
}<br />
arrayAppend(variables.instance.queue[arguments.type], arrayToList(write,&#8221;") );</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Hello World 2.0 by aarongreenlee</title>
		<link>http://aarongreenlee.com/2009/12/29/hello-world-2-0/#comment-5</link>
		<dc:creator>aarongreenlee</dc:creator>
		<pubDate>Thu, 07 Jan 2010 16:21:51 +0000</pubDate>
		<guid isPermaLink="false">http://aarongreenlee.com/?p=13#comment-5</guid>
		<description>So, will you respond to my tickets?</description>
		<content:encoded><![CDATA[<p>So, will you respond to my tickets?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
