<?xml version="1.0" encoding="utf-8"?>

			<rss version="2.0" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cc="http://web.resource.org/cc/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">

			<channel>
			<title>Glyn Jackson&apos;s Web Design and ColdFusion Blog - ColdFusion 8</title>
			<link>http://www.cfcoffee.co.uk/index.cfm</link>
			<description>Glyn Jackson&apos;s ColdFusion, Web Design and Web Development Blog. Award Winning Web Design in Staffordshire and Manchester, UK.</description>
			<language>en-gb</language>
			<pubDate>Sat, 04 Sep 2010 20:34:12 +0100</pubDate>
			<lastBuildDate>Fri, 06 Aug 2010 17:50:00 +0100</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>cfsparky@gmail.com</managingEditor>
			<webMaster>cfsparky@gmail.com</webMaster>
			<itunes:subtitle></itunes:subtitle>
			<itunes:summary></itunes:summary>
			<itunes:category text="Technology" />
			<itunes:category text="Technology">
				<itunes:category text="Podcasting" />
			</itunes:category>
			<itunes:category text="Technology">
				<itunes:category text="Tech News" />
			</itunes:category>
			<itunes:keywords></itunes:keywords>
			<itunes:author></itunes:author>
			<itunes:owner>
				<itunes:email>cfsparky@gmail.com</itunes:email>
				<itunes:name></itunes:name>
			</itunes:owner>
			
			<itunes:explicit>no</itunes:explicit>
			
			
			
			
			
			<item>
				<title>Layer Example Added to RIAForge</title>
				<link>http://www.cfcoffee.co.uk/index.cfm/2010/8/6/Layer-Example-Added-to-RIAForge</link>
				<description>
				
				&lt;p&gt;I have had requests for an example of the CFC I used in the &quot;Creating a simple Layar with ColdFusion&quot; Tutorial. I decided to comment on the CFC and upload it to &lt;a href=&quot;http://www.riaforge.org/&quot; target=&quot;_blank&quot;&gt;RIAForge&lt;/a&gt;. So if anyone wants it you can find the project &lt;a href=&quot;http://layarcfc.riaforge.org/&quot; target=&quot;_blank&quot; title=&quot;Layar Service Provider CFC&quot;&gt;there&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It&apos;s only a example of what&apos;s needed to create POI&apos;s and Actions. POI, and objects. However you should be pulling these from a database!&lt;/p&gt;

&lt;p&gt;I would love to know what others are doing with Layar at the moment.&lt;/p&gt;
				
				</description>
				
				
				<category>ColdFusion 9</category>
				
				<category>Chit Chat and Reviews</category>
				
				<category>ColdFusion 8</category>
				
				<category>ColdFusion</category>
				
				<pubDate>Fri, 06 Aug 2010 17:50:00 +0100</pubDate>
				<guid>http://www.cfcoffee.co.uk/index.cfm/2010/8/6/Layer-Example-Added-to-RIAForge</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Creating a simple Layar with ColdFusion: a step by step tutorial</title>
				<link>http://www.cfcoffee.co.uk/index.cfm/2010/7/4/Creating-a-simple-Layar-with-ColdFusion-a-step-by-step-tutorial</link>
				<description>
				
				&lt;p&gt;I have been doing a lot of mobile development recently. The &lt;a href=&quot;http://www.jqtouch.com/&quot; title=&quot;A jQuery plugin for mobile web development&quot;&gt;jqtouch plugin&lt;/a&gt; for jquery is awesome by the way! If you have not had the delight of developing with it yet I highly recommend the plugin for you next mobile project.&lt;/p&gt;

&lt;p&gt;Anyhow back to Layar, I was asked to produce a simple Layar for one of our clients. Layar if you don&apos;t know is a cool augmented reality browser for the iPhone and Android. Other phone operating systems have been announced and its set to come pre-installed on most phones by 2012. &lt;/p&gt;

&lt;p&gt;Augmented reality is exploding in Europe and I really think it&apos;s the next big thing. 
Creating a Layar is supper easy but no tutorial seemed to exist showing how to create POI in  ColdFusion so I decided to write a quick post from an asp.NET Layar I did a few weeks back.&lt;/p&gt;

&lt;h2&gt;Before you start...&lt;/h2&gt; 
&lt;p&gt;&lt;b&gt;Requirements&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Webserver with ColdFusion 8 or Above (JSON support needed)&lt;/li&gt;
&lt;li&gt;Android or iPhone 3GS or above (needs GPS and compass)&lt;/li&gt;
&lt;li&gt;Gmail Account&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You should know that a Layers consist of two parts:&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Layer definition:&lt;/b&gt; Created using a web form on the Layar Publishing site. I will show you how to do that.&lt;.p&gt;

&lt;p&gt;&lt;b&gt;Points of Interest within a layer:&lt;/b&gt; Fetched directly from the Layer Service Provider via the API. We will do this in CF. I will show you a quick example of this here also&lt;/p&gt;
				 [More]
				</description>
				
				
				<category>Layar</category>
				
				<category>ColdFusion 8</category>
				
				<category>ColdFusion</category>
				
				<pubDate>Sun, 04 Jul 2010 15:22:00 +0100</pubDate>
				<guid>http://www.cfcoffee.co.uk/index.cfm/2010/7/4/Creating-a-simple-Layar-with-ColdFusion-a-step-by-step-tutorial</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>ColdBox M5 and 2.6.4 Playing Together Continued</title>
				<link>http://www.cfcoffee.co.uk/index.cfm/2010/5/2/ColdBox-M5-and-264-Playing-Together-Continued</link>
				<description>
				
				&lt;p&gt;This morning I had sometime on my hands to revisit how I had setup ColdBox M5 using refactoring. Following a comment by Jason Dean, who suggested it would be much easier to use application specific mappings with CF8+. So I decided to give it another ago.&lt;/p&gt;

&lt;p&gt;When I first tried this I got an error due to Application.cfc extending the framework. As another comment pointed out ColdBox apparently since version 2.6 comes with a no inheritance version that instead of extending the framework bootstraps it. This would allow me declare my mapping before the framework is initialised.&lt;/p&gt;

&lt;code&gt;
  &lt;cfset this.mappings[ &quot;/coldbox&quot; ] = expandPath( &quot;/coldbox&quot; ) /&gt;
&lt;/code&gt;

&lt;p&gt;This is why I love the medium I choose to express myself in and the CF community, because they are so helpful.&lt;/p&gt;
				
				</description>
				
				
				<category>ColdFusion 9</category>
				
				<category>ColdBox</category>
				
				<category>ColdFusion 8</category>
				
				<category>ColdFusion</category>
				
				<pubDate>Sun, 02 May 2010 17:29:00 +0100</pubDate>
				<guid>http://www.cfcoffee.co.uk/index.cfm/2010/5/2/ColdBox-M5-and-264-Playing-Together-Continued</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>ColdBox M5 and 2.6.4 Playing Together</title>
				<link>http://www.cfcoffee.co.uk/index.cfm/2010/4/30/ColdBox-M5-and-264-Playing-Together</link>
				<description>
				
				&lt;p&gt;&lt;b&gt;To do this without refactoring see: http://www.cfcoffee.co.uk/index.cfm/2010/5/2/ColdBox-M5-and-264-Playing-Together-Continued&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Have you downloaded the lasted update from Luis, ColdBox M5? No? Well you should download it right now! So many new goodies, however running CB release M5 alongside my stable version CB 2.6.4 took me a while to set-up in my environment. I have been playing with the new update for a week, but only locally. Now I wanted to actually do something I would need to run it in an environment with an older version.&lt;/p&gt;

&lt;p&gt;I run IIS6 and have CB 2.6.4 mapped in my ColdFusion Administrator. Any reference to coldbox/system will use this release. I wanted to run both versions so that my old applications running 2.6.4 still work!&lt;/p&gt;    

&lt;p&gt;As I found out this can be done very easily following ColdBox Refactoring Guide found &lt;a href=&quot;http://ortus.svnrepository.com/coldbox/trac.cgi/wiki/cbRefactoringGuide&quot;&gt;here&lt;/a&gt; and the Ant Script found in the download. I had a few issues with this tho, not many but here is what I did....&lt;/p&gt;

&lt;p&gt;Your set-up many differ from this, this is just my experience!&lt;/p&gt;

&lt;p&gt;I Downloaded M5 from the the ColdBox site and placed it on my desktop following the instructions in the refactoring guide. I used ColdFusion Builder to run the Ant script not Eclipse but it&apos;s the same.&lt;/p&gt;

&lt;p&gt;My default path for my CFC&apos;s is coldbox.system, this is mapped in my ColdFusion Administrator to shared/frameworks/coldbox/system. Because my new version is going to run inside the same &apos;framework&apos; folder I entered not the full path to the new location as the guide shows but the Logical Path. This is my case would be coldbox3.system.&lt;/p&gt;
				 [More]
				</description>
				
				
				<category>ColdBox</category>
				
				<category>ColdFusion 8</category>
				
				<category>ColdFusion</category>
				
				<pubDate>Fri, 30 Apr 2010 16:16:00 +0100</pubDate>
				<guid>http://www.cfcoffee.co.uk/index.cfm/2010/4/30/ColdBox-M5-and-264-Playing-Together</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Learning ColdBox: Coldbox Proxy How Cool is This!</title>
				<link>http://www.cfcoffee.co.uk/index.cfm/2009/11/4/Learning-ColdBox-Coldbox-Proxy-How-Cool-is-This</link>
				<description>
				
				&lt;p&gt;I had some CFGRID code I needed to implement into an existing ColdBox application. The grid run out of the box without any intervention from the ColdBox Framework. However it would be necessary for the CFGRID to access my service layer and properties injected from ColdSpring if I wanted it to take full advantage of the CB Framework. I assumed this would be a nightmare, I mean how to I get my AJAX grid to use the same reusable ColdBox and model code?&lt;/p&gt;

&lt;p&gt;With ColdBox Proxy of course!  The ColdBox proxy enables remote calls like AJAX to communicate with ColdBox and take advantage of all the goodies it has to offer, thanks ColdBox!&lt;/p&gt;

&lt;p&gt;So how easy was it to get working? Very, it only took a few extra lines of code to work, really!&lt;/p&gt;

&lt;p&gt;First I told my CFGRID to access the proxy directly and not the CFC.&lt;/p&gt;

&lt;code&gt;
  bind=&quot;cfc:admin.coldboxproxy.getAllproducts({cfgridpage},
                              {cfgridpagesize},
                              {cfgridsortcolumn},
                              {cfgridsortdirection})&quot;
&lt;/code&gt;


&lt;p&gt;Next using the ColdBox proxy template already provided (which extends coldbox.system.extras.ColdboxProxy) I created a new function that works the same was as handlers in ColdBox.&lt;/p&gt;

&lt;code&gt;
&lt;cffunction name=&quot;getAllproducts&quot; output=&quot;false&quot; access=&quot;remote&quot; returntype=&quot;any&quot; hint=&quot;Process a remote call and return data/objects back.&quot;&gt;
  &lt;cfargument name=&quot;page&quot; type=&quot;numeric&quot; required=&quot;yes&quot;&gt;
  &lt;cfargument name=&quot;pageSize&quot; type=&quot;numeric&quot; required=&quot;yes&quot;&gt;
  &lt;cfargument name=&quot;gridsortcolumn&quot; type=&quot;string&quot; required=&quot;no&quot; default=&quot;&quot;&gt;
  &lt;cfargument name=&quot;gridsortdir&quot; type=&quot;string&quot; required=&quot;no&quot; default=&quot;&quot;&gt;

    &lt;cfset var results = &quot;&quot;&gt;    
    &lt;cfset results = getBean(&quot;storeService&quot;).getAJAXProducts(page=#arguments.page#,					 pageSize=#arguments.pageSize#,
			gridsortcolumn=#arguments.gridsortcolumn#,
			gridsortdir=#arguments.gridsortdir#) /&gt;

    &lt;!--- Convert Query for Paging ---&gt;
    &lt;cfreturn QueryConvertForGrid(results,page,pageSize)&gt;
&lt;/cffunction&gt; 
&lt;/code&gt;

&lt;p&gt;getBean(&quot;storeService&quot;)  interact directly with the service layer. Once this was done I could then take advantage of my dependency injection framework and ColdBox features. How cool is that!&lt;/p&gt;
				
				</description>
				
				
				<category>ColdBox</category>
				
				<category>ColdFusion 8</category>
				
				<category>ColdFusion</category>
				
				<pubDate>Wed, 04 Nov 2009 15:16:00 +0100</pubDate>
				<guid>http://www.cfcoffee.co.uk/index.cfm/2009/11/4/Learning-ColdBox-Coldbox-Proxy-How-Cool-is-This</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Persisting Values in ColdBox</title>
				<link>http://www.cfcoffee.co.uk/index.cfm/2009/9/19/Persisting-Values-in-ColdBox</link>
				<description>
				
				&lt;p&gt;I have never found a way to validate data I feel is 100% right for me, but I think I am getting close, let me explain.&lt;/p&gt;

&lt;p&gt; I have a simple ColdBox &apos;view&apos; containing my user form. This form is used to both create and update user&apos;s credentials.&lt;/p&gt;

&lt;code&gt;
user view

&lt;cfoutput&gt;
  &lt;fieldset&gt;
    &lt;div class=&quot;fm-req&quot;&gt;
      &lt;label for=&quot;firstname&quot;&gt;First Name&lt;/label&gt;
      &lt;input id=&quot;firstname&quot; name=&quot;firstname&quot; type=&quot;text&quot; class=&quot;text&quot; value=&quot;#rc.bean.getfirstname()#&quot; maxlength=&quot;15&quot;&gt;
    &lt;/div&gt;
    &lt;div class=&quot;fm-req&quot;&gt;
      &lt;label for=&quot;surname&quot;&gt;Last Name&lt;/label&gt;
      &lt;input id=&quot;surname&quot; name=&quot;surname&quot; type=&quot;text&quot; class=&quot;text&quot; maxlength=&quot;15&quot; value=&quot;#rc.bean.getsurname()#&quot;&gt;
    &lt;/div&gt;
    &lt;div class=&quot;fm-req&quot;&gt;
      &lt;label for=&quot;email&quot;&gt;Email Address&lt;/label&gt;
      &lt;input id=&quot;email&quot; name=&quot;email&quot; type=&quot;text&quot; class=&quot;text&quot; maxlength=&quot;100&quot; value=&quot;#rc.bean.getemail()#&quot;&gt;
    &lt;/div&gt;
    &lt;div class=&quot;fm-req&quot;&gt;
      &lt;label for=&quot;username&quot;&gt;Username&lt;/label&gt;
      &lt;input id=&quot;username&quot; name=&quot;username&quot; type=&quot;text&quot; class=&quot;text&quot; maxlength=&quot;12&quot; value=&quot;#rc.bean.getusername()#&quot;&gt;
    &lt;/div&gt;
    &lt;div class=&quot;fm-req&quot;&gt;
      &lt;label for=&quot;password&quot;&gt;Password&lt;/label&gt;
      &lt;input id=&quot;password&quot; name=&quot;password&quot; type=&quot;password&quot; class=&quot;text&quot; maxlength=&quot;20&quot; value=&quot;#variables.PasswordEncrypt#&quot;&gt;
    &lt;/div&gt;
  &lt;/fieldset&gt;
&lt;/cfoutput&gt; 
&lt;/code&gt;

&lt;code&gt;
example handler

&lt;!--- Edit User ---&gt;
&lt;cffunction name=&quot;editUser&quot; access=&quot;public&quot; returntype=&quot;void&quot; output=&quot;false&quot;&gt;
&lt;cfargument name=&quot;Event&quot; type=&quot;coldbox.system.beans.requestContext&quot;&gt;
     &lt;cfscript&gt;
	  var rc = event.getCollection();// RC Reference
      var userBean = variables.adminUsersService.createAdminUserBean(); //Create adminUserBean
	  getPlugin(&apos;beanFactory&apos;).populateBean(userBean);//the magic bean machine
	  variables.adminUsersService.getUserByID(userBean);
	  rc.bean = userBean;
	  event.setValue(&quot;pageTitle&quot;,&quot;Edit System User&quot;);//Form H1 Title
	  event.setValue(&quot;formURL&quot;,&quot;/users/updateUser?adminId=#rc.adminId#&quot;);
	  event.setValue(&quot;buttonValue1&quot;,&quot;Update User&quot;);//H1 Title
	  runEvent(event=&apos;users.createUserTabs&apos;,private=true); // Create User Tabs 
	  Event.setView(&quot;user/edit&quot;); // Set the View To Display, after Logic 
     &lt;/cfscript&gt;
&lt;/cffunction&gt;
&lt;/code&gt;


&lt;p&gt;I use one handler to create a new user and another to update, the only difference is the update handler pre populates the object from the database. So far simple stuff. Next I needed to validate my input. Again simple, I would submit to an intermediate handler that would validate my data against the object. However my dilemma is what to do if validation fails!&lt;/p&gt;

&lt;code&gt;
&lt;!--- Validation  ---&gt;
&lt;cffunction name=&quot;validation&quot; access=&quot;public&quot; returntype=&quot;void&quot; output=&quot;false&quot;&gt;
&lt;cfargument name=&quot;Event&quot; type=&quot;coldbox.system.beans.requestContext&quot;&gt;
     &lt;cfscript&gt;
	  var rc = event.getCollection();// RC Reference
      var userBean = variables.adminUsersService.createAdminUserBean(); //Create adminUserBean
      getPlugin(&apos;beanFactory&apos;).populateBean(userBean);//the magic bean machine
	  
	 errors = userBean.validateUserALL();//Check For Validation Errors  
	  
	 if (NOT ArrayLen(errors)){//No Validation Errors
	  
		  if ( variables.adminUsersService.updateUser(userBean)) {//Update Was OK
			 getPlugin(&quot;messagebox&quot;).setMessage(&quot;info&quot;, &quot;User was successfully updated.&quot;); 
		  }
		  else {//Could Not Update User Show Error Message
			   getPlugin(&quot;messagebox&quot;).setMessage(&quot;error&quot;, &quot;Sorry, for some reason this user was not updated!&quot;); 
		  }
		  
	  setNextEvent(&apos;users.overView&apos;);  // Set the Event To Run, After Logic  
	 }//End Of No Validation Errors 
	  
	  else {//We Have Validation Errors Show The User A Message
         getPlugin(&quot;messagebox&quot;).setMessage(&quot;error&quot;, &quot;&lt;b&gt;The Following Validation Errors Occurred:&lt;/b&gt;&lt;br /&gt;&quot;,errors);
		 
             ///what to do here?
		 
     }
     &lt;/cfscript&gt;
&lt;/cffunction&gt;

&lt;/code&gt;
				 [More]
				</description>
				
				
				<category>ColdBox</category>
				
				<category>ColdFusion 8</category>
				
				<category>ColdFusion</category>
				
				<pubDate>Sat, 19 Sep 2009 16:01:00 +0100</pubDate>
				<guid>http://www.cfcoffee.co.uk/index.cfm/2009/9/19/Persisting-Values-in-ColdBox</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>ColdBox and OO, Really?</title>
				<link>http://www.cfcoffee.co.uk/index.cfm/2009/8/17/ColdBox-and-OO-Really</link>
				<description>
				
				&lt;p&gt;Starting at the beginning I wanted push my knowledge a little more and continue with my venture into OO. Although I can recall most of the theory from my JAVA days at University, applying some of the concepts within ColdFusion does not seem to fit and in some instances proven difficult to get my head around.&lt;/p&gt;

&lt;p&gt;I have come to the conclusion if I want to try and apply OO concepts to ColdFusion I must not think of OO and JAVA but an adaptation of the principles of OO reborn for ColdFusion (where did that come from? lol). Anyway with that said I had an eureka moment last night, ok, it came with help from the guys on the messages boards @ houseoffusion. I posted some code not fully understand the direction I needed to go in. Using ColdBox and ColdSpring I wanted to create a &apos;simple&apos; example of a login which would help me better understand how to use objects containing &apos;getters&apos; and &apos;setters&apos;.&lt;/p&gt;

&lt;p&gt;As it turns out its super easy in ColdBox, so easy infact I was looking for the hidden catch!
Below is what I ended up with. It shows a function that is run in my handler to process a form post from a login page.&lt;/p&gt;
				 [More]
				</description>
				
				
				<category>ColdBox</category>
				
				<category>ColdFusion 8</category>
				
				<category>ColdSpring</category>
				
				<pubDate>Mon, 17 Aug 2009 16:13:00 +0100</pubDate>
				<guid>http://www.cfcoffee.co.uk/index.cfm/2009/8/17/ColdBox-and-OO-Really</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>ColdBox - SagePay VSP Driect Plugin</title>
				<link>http://www.cfcoffee.co.uk/index.cfm/2009/6/21/ColdBox--SagePay-VSP-Driect-Plugin</link>
				<description>
				
				&lt;p&gt;Now I am getting more to grips with CB I have recreated an ecommerce site using the framework. I have also created a simple plugin for the Coldbox Framework that allows you to integrate SagePay VSP Direct payment system in your website. It seems to work very well the site I used it on has been running the new plugin for few days, taking transactions with no errors.&lt;/p&gt;

&lt;p&gt;In case you don&apos;t know, SagePay VSP Direct is a method of processing a transaction through the Sage Pay gateway using server to server communication with the customer remaining on your website throughout the whole process. &lt;/p&gt;

&lt;p&gt;This plugin will setup, send and handle the response from their gateway. You will need an understanding of Sagepay and a SSL cert to use this plugin. Sage Pay only support UK merchants at the moment!&lt;/p&gt;
 
&lt;p&gt;I will be adding some example of the handler, checkout forms, and cart to a zip download soon at the moment all I have included the plugin CFC code below.&lt;/p&gt;
				 [More]
				</description>
				
				
				<category>Sage Pay</category>
				
				<category>ColdBox</category>
				
				<category>ColdFusion 8</category>
				
				<category>Frameworks</category>
				
				<category>ColdFusion</category>
				
				<pubDate>Sun, 21 Jun 2009 21:09:00 +0100</pubDate>
				<guid>http://www.cfcoffee.co.uk/index.cfm/2009/6/21/ColdBox--SagePay-VSP-Driect-Plugin</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>CFIMAGE WRITETOBROWSER no alt tag!</title>
				<link>http://www.cfcoffee.co.uk/index.cfm/2009/6/10/CFIMAGE-WRITETOBROWSER-no-alt-tag</link>
				<description>
				
				&lt;p&gt;Just a quick post on using &apos;CFIMAGE&apos; with the action &apos;WRITETOBROWSER&apos;. I noticed something which is not documented in the livedocs. When using the above tag I viewed the sourced code it outputted to the browser and it gave a completely empty alt tag, not good for accessibility! So I looked in the livedocs to see it there was an attribute for missing &apos;alt&apos;, but nothing!&lt;/p&gt;
&lt;p&gt;Just out of pure boredom I added alt=&quot;something&quot; to the CFIMAGE tag and guess what? No errors, could it have worked? Yes it did! Infact any normal image attribute seemed to work on CFIMAGE such as border=&quot;0&quot; etc.&lt;/p&gt; 
&lt;p&gt;OK, so this is weak attempt at a blog post but it has me thinking, do Adobe not document such things often or maybe just because its common sense. Well either way I like it when things just work.&lt;/p&gt;
				
				</description>
				
				
				<category>ColdFusion 8</category>
				
				<category>ColdFusion</category>
				
				<pubDate>Wed, 10 Jun 2009 18:20:00 +0100</pubDate>
				<guid>http://www.cfcoffee.co.uk/index.cfm/2009/6/10/CFIMAGE-WRITETOBROWSER-no-alt-tag</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>ColdEXT Helps With Consistency!</title>
				<link>http://www.cfcoffee.co.uk/index.cfm/2009/3/22/ColdEXT-Helps-With-Consistency</link>
				<description>
				
				&lt;p&gt;This week I found a gem and cannot put it down, I want to tell everyone! Justin Carter just made my use of the EXTJS library a lot clearer with his ColdExt tags. Everyone else seems to know about this already, but I didn&apos;t and just wanted to sing its praises.&lt;/p&gt;

&lt;p&gt;I have a current application that uses EXT 1 and over the next 2 months I will be making major updates using EXT 2.0+ and this will really come in handy. &lt;/p&gt;  

&lt;p&gt;You cannot do everything with these tags and I have hit a few limitations but from what I can tell it&apos;s still a work in progress and if something is missing, you can use script directly within the tags so it does not really matter.&lt;/p&gt; 

&lt;p&gt;For me ColdExt looks like it will help me keep consistency with EXT 2.0 a little better than before, keep up the great work Justin Carter and if you read this, thanks for sharing!&lt;/p&gt;

&lt;p&gt;SalesMaxx v4 screen shots using a mix of ColdExt&lt;/p&gt;

&lt;img src=&quot;http://www.newebia.co.uk/blog/images//salesmaxxintrol.jpg&quot;&gt;
&lt;img src=&quot;http://www.newebia.co.uk/blog/images//cfgirdexample.jpg&quot;&gt;
&lt;img src=&quot;http://www.newebia.co.uk/blog/images//cfgridsnapshot2.jpg&quot;&gt;
				
				</description>
				
				
				<category>Chit Chat and Reviews</category>
				
				<category>ColdExt</category>
				
				<category>ColdFusion 8</category>
				
				<category>ColdFusion</category>
				
				<pubDate>Sun, 22 Mar 2009 16:26:00 +0100</pubDate>
				<guid>http://www.cfcoffee.co.uk/index.cfm/2009/3/22/ColdEXT-Helps-With-Consistency</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>CFGRID Custom Delete</title>
				<link>http://www.cfcoffee.co.uk/index.cfm/2009/1/5/CFGRID-delete-I-am-going-about-this-wrong</link>
				<description>
				
				&lt;p&gt;I am using an example I customised from Dan Vega&apos;s Blog on CFGRID. I wanted to add my own delete function to the grid and not using the delete=&quot;yes&quot;. The function needed to pass the selected ID to a CFC delete function. I decided to use my new found love of cfajaxproxy, what I am not sure about is if I have gone about doing this in the best way. I could not find any examples and my solution does work well, but I cannot help feeling I have gone the long way around this? Without knowing where to look I cannot be sure.&lt;/p&gt; 

&lt;img src=&quot;http://www.newebia.co.uk/blog/images//cfgridsnapshot.jpg&quot;&gt;
&lt;br /&gt;
&lt;p&gt;Anyway here is what I did, right or wrong it works.&lt;/p&gt; 

&lt;/&gt;Created the CFC (with has my delete function) as a JavaScript object.&lt;/p&gt;  
&lt;code&gt;
&lt;cfajaxproxy cfc=&quot;live.components.orders&quot; jsclassname=&quot;callordersCFC&quot;/&gt;
&lt;/code&gt;
&lt;p&gt;Setup my grid and buttons, just the delete button in this example.&lt;/p&gt;
&lt;code&gt;
&lt;InvalidTag type=&quot;text/javascript&quot;&gt;
function init(){
      grid = ColdFusion.Grid.getGridObject(&quot;ordersSearch&quot;);
      var gridHead = grid.getView().getHeaderPanel(true);
      var tbar = new Ext.Toolbar(gridHead); 

//delete order button
	   tbar.addButton({
       text:&quot;Delete Order&quot;,
       cls:&quot;x-btn-text-icon&quot;,
       icon:&quot;./images/icons/package_delete.png&quot;,
       handler:onDeleteOrder
      });
      console.log(tbar);	  	  
    }

&lt;/code&gt;
				 [More]
				</description>
				
				
				<category>ColdFusion 8</category>
				
				<category>ColdFusion</category>
				
				<pubDate>Mon, 05 Jan 2009 21:37:00 +0100</pubDate>
				<guid>http://www.cfcoffee.co.uk/index.cfm/2009/1/5/CFGRID-delete-I-am-going-about-this-wrong</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>CFAJAXPROXY - JavaScript object from a CFC</title>
				<link>http://www.cfcoffee.co.uk/index.cfm/2008/12/26/CFAJAXPROXY--JavaScript-object-from-a-CFC</link>
				<description>
				
				&lt;p&gt;So its boxing day, I am sitting back and having a few beers playing around with some CF8 tags that I have not used very much over the course of the year. A few of my fellow CF developers have been saying the best tag added to ColdFusion 8 was cfajaxproxy, to be honest I don&apos;t know what all the fuss is about, until now.&lt;/p&gt;
 
&lt;p&gt;I have been meaning to update some functions in SalesMaxx particularly the shopping cart and with a few beers down and nothing but reruns on TV what a better time to try cfajaxproxy.&lt;/p&gt;
				 [More]
				</description>
				
				
				<category>ColdFusion 8</category>
				
				<category>ColdFusion</category>
				
				<pubDate>Fri, 26 Dec 2008 22:27:00 +0100</pubDate>
				<guid>http://www.cfcoffee.co.uk/index.cfm/2008/12/26/CFAJAXPROXY--JavaScript-object-from-a-CFC</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Submitting a CFFORM inside a CFDIV</title>
				<link>http://www.cfcoffee.co.uk/index.cfm/2008/12/2/Submitting-a-CFFORM-inside-a-CFDIV</link>
				<description>
				
				&lt;p&gt;I came across a problem submitting a CFFORM inside a CFDIV container. Normally any CFFORM submitted inside a CFDIV container will be posted back to the CFDIV (thanks CF for all the built in functions that make my life easy).... so I assumed below would work...&lt;/p&gt;

&lt;code&gt;
&lt;cfform&gt;
    Items Per Page:
    &lt;cfselect name=&quot;sortby&quot; onChange=&quot;submit()&quot;&gt;
     &lt;option value =&quot;0&quot;&gt;&lt;/option&gt;
      &lt;option value =&quot;0&quot;&gt;Lowest Price&lt;/option&gt;
      &lt;option value =&quot;1&quot;&gt;Highest Price&lt;/option&gt;
    &lt;/cfselect&gt;
    &lt;/cfform&gt;
&lt;/code&gt;

&lt;p&gt;but because I was not using the regular submit button none of ColdFusion&apos;s built-in ajax form submission events were being triggered as a result.&lt;/p&gt;

&lt;p&gt;a simple work around...&lt;/p&gt;

&lt;code&gt;
&lt;InvalidTag&gt;
submitsortby = function() {
javaScript:ColdFusion.navigate(&apos;productpage.cfm&apos;,&apos;productlistDiv&apos;,null,null,&apos;get&apos;,&apos;sortbyFrm&apos;);return false;
}
&lt;/script&gt;
    

&lt;cfform id=&quot;sortbyFrm&quot; name=&quot;sortbyFrm&quot;&gt;
    Items Per Page:
    &lt;cfselect name=&quot;sortby&quot; onChange=&quot;submitsortby()&quot;&gt;
     &lt;option value =&quot;0&quot;&gt;&lt;/option&gt;
      &lt;option value =&quot;0&quot;&gt;Lowest Price&lt;/option&gt;
      &lt;option value =&quot;1&quot;&gt;Highest Price&lt;/option&gt;
    &lt;/cfselect&gt;
    &lt;/cfform&gt;
&lt;/code&gt;

&lt;p&gt;however I am curious as there must be a another way to call CF&apos;s built-in AJAX form submission event without using &quot;ColdFusion.navigate&quot;? I have tired a number of other things like using &quot;document.sortbyFrm.submit(), ColdFusion.ajax.submitForm()&quot; but with no results.&lt;/p&gt;
				
				</description>
				
				
				<category>ColdFusion 8</category>
				
				<pubDate>Tue, 02 Dec 2008 17:09:00 +0100</pubDate>
				<guid>http://www.cfcoffee.co.uk/index.cfm/2008/12/2/Submitting-a-CFFORM-inside-a-CFDIV</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Sava CMS Content Ratings Portal Inheritance</title>
				<link>http://www.cfcoffee.co.uk/index.cfm/2008/11/1/Sava-CMS-Content-Ratings-Portal-Inheritance-Issue</link>
				<description>
				
				&lt;p&gt;Before I begin....&lt;/p&gt;
&lt;p&gt;I am really starting to enjoy &lt;a href=&quot;http://www.gosava.com/go/sava/&quot; target=&quot;_blank&quot;&gt;Sava CMS&lt;/a&gt; the guys/girls are a credit to the CF community. The helpfulness on their forum is also very commendable, there were cases where I asked a question or made simple feature requests and they updated the version of Sava with fixes or the features within hours of the request.&lt;/p&gt; 

&lt;p&gt;I have decided to start making some little write ups and contribute in anyway I can. I don&apos;t fully know the system yet or make claims to be any CF guru as i am just starting out, however I like to learn so don&apos;t shoot me down straight away.&lt;/p&gt;

&lt;p&gt;There also maybe other ways in Sava that I have not yet investigated do so some of the things I suggest here or in anyother post I make. The main problems I have found are with SEO in Sava, however I will post bits on that as I play.&lt;/p&gt;

&lt;h2&gt;Content Ratings Portal Inheritance&lt;/h2&gt;

&lt;p&gt;The first thing I wanted to write about was a simple fix on an issue I had setting up a portal and adding the content rating to it.&lt;/p&gt;

&lt;p&gt;In Sava to stop the repetitive task of manually adding objects like the &apos;content rating&apos; to every new page created under a portal you can you setup a portal with Inheritance Rules such as &apos;Start New Cascade&apos;, this means that anything added under that particular portal will inherit the display object(s) by default of the Portal its under.&lt;/p&gt;

&lt;p&gt;However the portal page itself also has the display object on it when you do this. Its only the content I wanted to be rated not the actual portal page so this needed removing.&lt;/p&gt;
				 [More]
				</description>
				
				
				<category>Mura (Sava)</category>
				
				<category>ColdFusion 8</category>
				
				<pubDate>Sat, 01 Nov 2008 15:24:00 +0100</pubDate>
				<guid>http://www.cfcoffee.co.uk/index.cfm/2008/11/1/Sava-CMS-Content-Ratings-Portal-Inheritance-Issue</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>LightBox Gallery With CFIMAGE To Resize</title>
				<link>http://www.cfcoffee.co.uk/index.cfm/2008/10/1/Simple-LightBox-Gallery-using-CFIMAGE-To-Resize</link>
				<description>
				
				&lt;p&gt;This is some code I did when I first started to play with CFIMAGE it has been useful so felt like sharing.&lt;/p&gt;

&lt;p&gt;I client of mine spent a lot of time uploading and adding images to his static gallery page he used Lightbox. He had to create 2 images each time one a thumbnail and the other a large size image, then he had to add each image to his page like so...&lt;/p&gt;
&lt;code&gt;
&lt;a href=&quot;img/gallery/large/example.jpg&quot; rel=&quot;lightbox[projects]&quot; &gt;&lt;img src=&quot;img/gallery/example.jpg&quot;/&gt;&lt;/a&gt;
&lt;/code&gt;
&lt;p&gt;This was ok at first but it started to get untidy, you know how it is, images being taking off, new images being added, long lines of img tags, messy.&lt;/p&gt;

&lt;p&gt;Anyhow, simple bit of code, only took around 2 minutes (I love ColdFusion). Now all he does is upload 1 large image to his image directory and it appears in his gallery. Thumbnails are created on the fly and it still works with his Lightbox.&lt;/p&gt;


&lt;code&gt;
&lt;cfset imagesFolder = &quot;./img/gallery/&quot;&gt;&lt;!---change to your image directory---&gt;
&lt;cfset varWidth = &quot;100&quot;&gt;&lt;!---image width in px---&gt;
&lt;cfset varHight = &quot;100&quot;&gt;&lt;!---image height in px ---&gt;
&lt;!---get all images from you above specified directory---&gt;
&lt;cfdirectory action=&quot;list&quot; directory=&quot;#ExpandPath(imagesFolder)#&quot; recurse=&quot;true&quot; name=&quot;gallery&quot; filter=&quot;*.jpg&quot;/&gt;
&lt;!---resize and output all images to the browser---&gt;
&lt;cfoutput query=&quot;gallery&quot;&gt; 
&lt;cfimage action=&quot;resize&quot; source=&quot;#ExpandPath(&apos;#imagesFolder##gallery.name#&apos;)#&quot; width=&quot;#varWidth#&quot; height=&quot;#varHight#&quot; name=&quot;ImageObject&quot;/&gt;
&lt;!---rel=lightbox[projects] is my light box group change to yours---&gt;
&lt;a href=&quot;img/gallery/#gallery.name#&quot; rel=&quot;lightbox[projects]&quot; &gt;&lt;cfimage action=&quot;writetobrowser&quot; source=&quot;#ImageObject#&quot;/&gt;&lt;/a&gt;
&lt;/cfoutput&gt;
&lt;/code&gt;
				
				</description>
				
				
				<category>ColdFusion 8</category>
				
				<category>ColdFusion</category>
				
				<pubDate>Wed, 01 Oct 2008 11:36:00 +0100</pubDate>
				<guid>http://www.cfcoffee.co.uk/index.cfm/2008/10/1/Simple-LightBox-Gallery-using-CFIMAGE-To-Resize</guid>
				
				
			</item>
			
		 	
			</channel></rss>