<?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/"
		>
<channel>
	<title>Comments on: Fusebox 5.51 With MVC Tutorial Part 1</title>
	<atom:link href="http://ricardo.parente.us/2009/08/fusebox-5-51-with-mvc-tutorial-part-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://ricardo.parente.us/2009/08/fusebox-5-51-with-mvc-tutorial-part-1/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=fusebox-5-51-with-mvc-tutorial-part-1</link>
	<description>ColdFusion Developers Network</description>
	<lastBuildDate>Sat, 31 Dec 2011 20:48:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Yoosaf</title>
		<link>http://ricardo.parente.us/2009/08/fusebox-5-51-with-mvc-tutorial-part-1/#comment-1564</link>
		<dc:creator>Yoosaf</dc:creator>
		<pubDate>Tue, 01 Nov 2011 23:01:46 +0000</pubDate>
		<guid isPermaLink="false">http://ricardo.parente.us/?p=763#comment-1564</guid>
		<description>The part 2 of this tutorial is just having a heading and the smiley..Please provide the link to part 2</description>
		<content:encoded><![CDATA[<p>The part 2 of this tutorial is just having a heading and the smiley..Please provide the link to part 2</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ricardo</title>
		<link>http://ricardo.parente.us/2009/08/fusebox-5-51-with-mvc-tutorial-part-1/#comment-223</link>
		<dc:creator>Ricardo</dc:creator>
		<pubDate>Mon, 10 Jan 2011 01:25:41 +0000</pubDate>
		<guid isPermaLink="false">http://ricardo.parente.us/?p=763#comment-223</guid>
		<description>@Eric,
You are using &quot;#self#&quot; instead of &quot;#myself#&quot;, I believe that&#039;s the problem.
self = &quot;index.cfm&quot;
myself = &quot;#self#?#methodvariable#=&quot;
(in your case myself = &quot;index.cfm?fuseaction=&quot;)

Make a test page and do a &lt;cfdump var=&quot;#myfusebox#&quot; /&gt; in one of your templates, and you will see several variables that you can use too, like myFusebox.thisCircuit, myFusebox.thisFuseaction, etc.

Thank you for your kind words. It&#039;s a pleasure to help the developers community. I learn a lot from it, so I&#039;m happy to pay forward the little I know.

Best regards,
Ricardo</description>
		<content:encoded><![CDATA[<p>@Eric,<br />
You are using &#8220;#self#&#8221; instead of &#8220;#myself#&#8221;, I believe that&#8217;s the problem.<br />
self = &#8220;index.cfm&#8221;<br />
myself = &#8220;#self#?#methodvariable#=&#8221;<br />
(in your case myself = &#8220;index.cfm?fuseaction=&#8221;)</p>
<p>Make a test page and do a &lt;cfdump var=&#8221;#myfusebox#&#8221; /> in one of your templates, and you will see several variables that you can use too, like myFusebox.thisCircuit, myFusebox.thisFuseaction, etc.</p>
<p>Thank you for your kind words. It&#8217;s a pleasure to help the developers community. I learn a lot from it, so I&#8217;m happy to pay forward the little I know.</p>
<p>Best regards,<br />
Ricardo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://ricardo.parente.us/2009/08/fusebox-5-51-with-mvc-tutorial-part-1/#comment-222</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Sun, 09 Jan 2011 23:47:31 +0000</pubDate>
		<guid isPermaLink="false">http://ricardo.parente.us/?p=763#comment-222</guid>
		<description>Ricardo, I have a link and am trying to use &lt;a href=&quot;#self#?fuseaction=#XFA.lnkMain#&quot; rel=&quot;nofollow&quot;&gt;Home&lt;/a&gt; but it seems to not work. I do have the  in the circuit.xml.

Any ideas?</description>
		<content:encoded><![CDATA[<p>Ricardo, I have a link and am trying to use <a href="#self#?fuseaction=#XFA.lnkMain#" rel="nofollow">Home</a> but it seems to not work. I do have the  in the circuit.xml.</p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://ricardo.parente.us/2009/08/fusebox-5-51-with-mvc-tutorial-part-1/#comment-221</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Sat, 08 Jan 2011 02:38:12 +0000</pubDate>
		<guid isPermaLink="false">http://ricardo.parente.us/?p=763#comment-221</guid>
		<description>Ricardo, your explanation definitely helps and I am glad we can use CFC&#039;s with your method which makes total sense in my brain.

I appreciate your immediate feedback on both of my questions! It&#039;s great to know we have community support. Your tutorials have greatly exceeded my expectations with the framework!

From one developer to another, thank you!</description>
		<content:encoded><![CDATA[<p>Ricardo, your explanation definitely helps and I am glad we can use CFC&#8217;s with your method which makes total sense in my brain.</p>
<p>I appreciate your immediate feedback on both of my questions! It&#8217;s great to know we have community support. Your tutorials have greatly exceeded my expectations with the framework!</p>
<p>From one developer to another, thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ricardo</title>
		<link>http://ricardo.parente.us/2009/08/fusebox-5-51-with-mvc-tutorial-part-1/#comment-220</link>
		<dc:creator>Ricardo</dc:creator>
		<pubDate>Fri, 07 Jan 2011 04:11:55 +0000</pubDate>
		<guid isPermaLink="false">http://ricardo.parente.us/?p=763#comment-220</guid>
		<description>@Eric,
The XFA is used to allow you to maintain the logic of your code in the XML, so if you ever need to change the action of a form, or a link, you can do it without changing the code itself, but just changing the circuit.xml file.

So, suppose you have a contact form that you call from your &quot;contact&quot; circuit:
&lt;fuseaction name=&quot;contactUsForm&quot;&gt;
   &lt;xfa name=&quot;formSubmit&quot; value=&quot;cforms.contactUsAct&quot; /&gt;
   &lt;include template=&quot;dspContactUsForm&quot; required=&quot;true&quot; /&gt;
&lt;/fuseaction&gt;

Then in your template dspContactUsForm.cfm you will write:
&lt;form name=&quot;contactUs&quot; action=&quot;#myself##xfa.formSubmit# method=&quot;post&quot;&gt;
.....
&lt;/form&gt;

If you ever need to change the action, just change the XFA in the circuit file.

Best regards,
Ricardo</description>
		<content:encoded><![CDATA[<p>@Eric,<br />
The XFA is used to allow you to maintain the logic of your code in the XML, so if you ever need to change the action of a form, or a link, you can do it without changing the code itself, but just changing the circuit.xml file.</p>
<p>So, suppose you have a contact form that you call from your &#8220;contact&#8221; circuit:<br />
&lt;fuseaction name=&#8221;contactUsForm&#8221;><br />
   &lt;xfa name=&#8221;formSubmit&#8221; value=&#8221;cforms.contactUsAct&#8221; /><br />
   &lt;include template=&#8221;dspContactUsForm&#8221; required=&#8221;true&#8221; /><br />
&lt;/fuseaction></p>
<p>Then in your template dspContactUsForm.cfm you will write:<br />
&lt;form name=&#8221;contactUs&#8221; action=&#8221;#myself##xfa.formSubmit# method=&#8221;post&#8221;><br />
&#8230;..<br />
&lt;/form></p>
<p>If you ever need to change the action, just change the XFA in the circuit file.</p>
<p>Best regards,<br />
Ricardo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ricardo</title>
		<link>http://ricardo.parente.us/2009/08/fusebox-5-51-with-mvc-tutorial-part-1/#comment-219</link>
		<dc:creator>Ricardo</dc:creator>
		<pubDate>Fri, 07 Jan 2011 04:00:59 +0000</pubDate>
		<guid isPermaLink="false">http://ricardo.parente.us/?p=763#comment-219</guid>
		<description>@Eric,
Sure, you can use CFC&#039;s.
I usually create a folder ouside the &quot;circuits&quot; folder and call it &quot;components&quot;, where I put all global CFC&#039;s that I can instantiate from any circuit. But there are other ways to use them, like together with the model circuit if it is an action CFC or with the view circuits if it generates any output.
My approach is to set the path in the Application.cfc like:
&lt;cfset application.componentPath = &quot;components.&quot; /&gt;
and in my code I instantiate it like:
&lt;cfscript&gt;
myObj = createObject(&quot;component&quot;, application.componentPath &amp; &quot;myComponent&quot;).init();
&lt;/cfscript&gt;

I hope this help you.
Thanks.
Ricardo</description>
		<content:encoded><![CDATA[<p>@Eric,<br />
Sure, you can use CFC&#8217;s.<br />
I usually create a folder ouside the &#8220;circuits&#8221; folder and call it &#8220;components&#8221;, where I put all global CFC&#8217;s that I can instantiate from any circuit. But there are other ways to use them, like together with the model circuit if it is an action CFC or with the view circuits if it generates any output.<br />
My approach is to set the path in the Application.cfc like:<br />
&lt;cfset application.componentPath = &#8220;components.&#8221; /><br />
and in my code I instantiate it like:<br />
&lt;cfscript><br />
myObj = createObject(&#8220;component&#8221;, application.componentPath &#038; &#8220;myComponent&#8221;).init();<br />
&lt;/cfscript></p>
<p>I hope this help you.<br />
Thanks.<br />
Ricardo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://ricardo.parente.us/2009/08/fusebox-5-51-with-mvc-tutorial-part-1/#comment-218</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Thu, 06 Jan 2011 13:06:01 +0000</pubDate>
		<guid isPermaLink="false">http://ricardo.parente.us/?p=763#comment-218</guid>
		<description>Also, how would we construct XFA&#039;s, would you provide an example for form, link, and  ? so I can wrap my brain around your concept?</description>
		<content:encoded><![CDATA[<p>Also, how would we construct XFA&#8217;s, would you provide an example for form, link, and  ? so I can wrap my brain around your concept?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://ricardo.parente.us/2009/08/fusebox-5-51-with-mvc-tutorial-part-1/#comment-217</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Thu, 06 Jan 2011 13:02:16 +0000</pubDate>
		<guid isPermaLink="false">http://ricardo.parente.us/?p=763#comment-217</guid>
		<description>Can we use CFC&#039;s with your configuration. I absolutely love how you use the circuit as the controller, that makes total sense to me.</description>
		<content:encoded><![CDATA[<p>Can we use CFC&#8217;s with your configuration. I absolutely love how you use the circuit as the controller, that makes total sense to me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ricardo</title>
		<link>http://ricardo.parente.us/2009/08/fusebox-5-51-with-mvc-tutorial-part-1/#comment-216</link>
		<dc:creator>Ricardo</dc:creator>
		<pubDate>Sun, 19 Dec 2010 03:59:43 +0000</pubDate>
		<guid isPermaLink="false">http://ricardo.parente.us/?p=763#comment-216</guid>
		<description>@haroon,
I just downloaded the sample code in the second part of this tutorial and it works fine.
According to the error you pasted, it seems that you have some strange character in the XML file &quot;circuit.xml.cfm&quot; in the folder &quot;circuits/home/model&quot;. Maybe you got that when you copied the code from the blog. Sometimes the single quotes are showed as a special character.
Try to download the code here: http://ricardo.parente.us/wp-content/uploads/2009/09/FBTutorial.zip
Let me know if it works.
Thanks.</description>
		<content:encoded><![CDATA[<p>@haroon,<br />
I just downloaded the sample code in the second part of this tutorial and it works fine.<br />
According to the error you pasted, it seems that you have some strange character in the XML file &#8220;circuit.xml.cfm&#8221; in the folder &#8220;circuits/home/model&#8221;. Maybe you got that when you copied the code from the blog. Sometimes the single quotes are showed as a special character.<br />
Try to download the code here: <a href="http://ricardo.parente.us/wp-content/uploads/2009/09/FBTutorial.zip" rel="nofollow">http://ricardo.parente.us/wp-content/uploads/2009/09/FBTutorial.zip</a><br />
Let me know if it works.<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: haroon</title>
		<link>http://ricardo.parente.us/2009/08/fusebox-5-51-with-mvc-tutorial-part-1/#comment-215</link>
		<dc:creator>haroon</dc:creator>
		<pubDate>Fri, 17 Dec 2010 21:27:46 +0000</pubDate>
		<guid isPermaLink="false">http://ricardo.parente.us/?p=763#comment-215</guid>
		<description>Ricardo…
I tried your approach, but its giving me error.
Error says :

Error reading circuit.xml
A problem was encountered while reading the circuit file circuit.xml.cfm for circuit mhome. This is usually caused by unmatched XML tag-pairs. Close all XML tags explicitly or use the / (slash) short-cut.

The error occurred in C:\ColdFusion9\wwwroot\fusebox5\fuseboxCircuit.cfc: line 173
Called from C:\ColdFusion9\wwwroot\fusebox5\fuseboxCircuit.cfc: line 81
Called from C:\ColdFusion9\wwwroot\fusebox5\fuseboxApplication.cfc: line 950
Called from C:\ColdFusion9\wwwroot\fusebox5\fuseboxApplication.cfc: line 314
Called from C:\ColdFusion9\wwwroot\fusebox5\fuseboxApplication.cfc: line 108
Called from C:\ColdFusion9\wwwroot\fusebox5\Application.cfc: line 341
Called from C:\ColdFusion9\wwwroot\fusebox5\Application.cfc: line 334
Called from C:\ColdFusion9\wwwroot\fusebox5\Application.cfc: line 119
Called from C:\ColdFusion9\wwwroot\fusebox5\Application.cfc: line 97
Called from C:\ColdFusion9\wwwroot\FBTutorial\Application.cfc: line 40

171 :
175 :


i downloaded your code that you give to meghu but is shows same above error. Please can you provide me solution for this error. very very thanks....</description>
		<content:encoded><![CDATA[<p>Ricardo…<br />
I tried your approach, but its giving me error.<br />
Error says :</p>
<p>Error reading circuit.xml<br />
A problem was encountered while reading the circuit file circuit.xml.cfm for circuit mhome. This is usually caused by unmatched XML tag-pairs. Close all XML tags explicitly or use the / (slash) short-cut.</p>
<p>The error occurred in C:\ColdFusion9\wwwroot\fusebox5\fuseboxCircuit.cfc: line 173<br />
Called from C:\ColdFusion9\wwwroot\fusebox5\fuseboxCircuit.cfc: line 81<br />
Called from C:\ColdFusion9\wwwroot\fusebox5\fuseboxApplication.cfc: line 950<br />
Called from C:\ColdFusion9\wwwroot\fusebox5\fuseboxApplication.cfc: line 314<br />
Called from C:\ColdFusion9\wwwroot\fusebox5\fuseboxApplication.cfc: line 108<br />
Called from C:\ColdFusion9\wwwroot\fusebox5\Application.cfc: line 341<br />
Called from C:\ColdFusion9\wwwroot\fusebox5\Application.cfc: line 334<br />
Called from C:\ColdFusion9\wwwroot\fusebox5\Application.cfc: line 119<br />
Called from C:\ColdFusion9\wwwroot\fusebox5\Application.cfc: line 97<br />
Called from C:\ColdFusion9\wwwroot\FBTutorial\Application.cfc: line 40</p>
<p>171 :<br />
175 :</p>
<p>i downloaded your code that you give to meghu but is shows same above error. Please can you provide me solution for this error. very very thanks&#8230;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

