<?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: Getting the Expected Results for GetCurrentTemplatePath() in a Custom Tag.</title>
	<atom:link href="http://www.elliottsprehn.com/blog/2007/07/17/getting-the-expected-results-for-getcurrenttemplatepath-in-a-custom-tag/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.elliottsprehn.com/blog/2007/07/17/getting-the-expected-results-for-getcurrenttemplatepath-in-a-custom-tag/</link>
	<description>Exploring Life Through Math, Algorithms and Code</description>
	<lastBuildDate>Mon, 30 Aug 2010 20:08:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Tweets that mention Getting the Expected Results for GetCurrentTemplatePath() in a Custom Tag. - Elliott's Development Blog -- Topsy.com</title>
		<link>http://www.elliottsprehn.com/blog/2007/07/17/getting-the-expected-results-for-getcurrenttemplatepath-in-a-custom-tag/comment-page-1/#comment-16404</link>
		<dc:creator>Tweets that mention Getting the Expected Results for GetCurrentTemplatePath() in a Custom Tag. - Elliott's Development Blog -- Topsy.com</dc:creator>
		<pubDate>Wed, 28 Apr 2010 02:37:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.elliottsprehn.com/blog/2007/07/17/getting-the-expected-results-for-getcurrenttemplatepath-in-a-custom-tag/#comment-16404</guid>
		<description>[...] This post was mentioned on Twitter by aanooj. aanooj said: @aanooj Getting the Expected Results for GetCurrentTemplatePath() in a Custom Tag. - Elliott&#039;s Development Blog: http://bit.ly/cmPArO [...]</description>
		<content:encoded><![CDATA[<p>[...] This post was mentioned on Twitter by aanooj. aanooj said: @aanooj Getting the Expected Results for GetCurrentTemplatePath() in a Custom Tag. &#8211; Elliott&#39;s Development Blog: <a href="http://bit.ly/cmPArO" rel="nofollow">http://bit.ly/cmPArO</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Bryant</title>
		<link>http://www.elliottsprehn.com/blog/2007/07/17/getting-the-expected-results-for-getcurrenttemplatepath-in-a-custom-tag/comment-page-1/#comment-16236</link>
		<dc:creator>Steve Bryant</dc:creator>
		<pubDate>Fri, 15 Jan 2010 21:23:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.elliottsprehn.com/blog/2007/07/17/getting-the-expected-results-for-getcurrenttemplatepath-in-a-custom-tag/#comment-16236</guid>
		<description>This is really nice! This solves a small issue that I have been having for some time.

Thanks Elliott (and Ben for linking to it)!</description>
		<content:encoded><![CDATA[<p>This is really nice! This solves a small issue that I have been having for some time.</p>
<p>Thanks Elliott (and Ben for linking to it)!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Nadel</title>
		<link>http://www.elliottsprehn.com/blog/2007/07/17/getting-the-expected-results-for-getcurrenttemplatepath-in-a-custom-tag/comment-page-1/#comment-16219</link>
		<dc:creator>Ben Nadel</dc:creator>
		<pubDate>Thu, 14 Jan 2010 15:08:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.elliottsprehn.com/blog/2007/07/17/getting-the-expected-results-for-getcurrenttemplatepath-in-a-custom-tag/#comment-16219</guid>
		<description>Elliott, I know it&#039;s been like 2 years since this blog post; but, I just used it in a new and (what I think) exciting way:

http://www.bennadel.com/blog/1813-Invoking-A-ColdFusion-Function-With-A-Closure-Like-CALLER-Based-Variable-Binding.htm</description>
		<content:encoded><![CDATA[<p>Elliott, I know it&#8217;s been like 2 years since this blog post; but, I just used it in a new and (what I think) exciting way:</p>
<p><a href="http://www.bennadel.com/blog/1813-Invoking-A-ColdFusion-Function-With-A-Closure-Like-CALLER-Based-Variable-Binding.htm" rel="nofollow">http://www.bennadel.com/blog/1813-Invoking-A-ColdFusion-Function-With-A-Closure-Like-CALLER-Based-Variable-Binding.htm</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gary Gilbert</title>
		<link>http://www.elliottsprehn.com/blog/2007/07/17/getting-the-expected-results-for-getcurrenttemplatepath-in-a-custom-tag/comment-page-1/#comment-16113</link>
		<dc:creator>Gary Gilbert</dc:creator>
		<pubDate>Fri, 21 Nov 2008 12:37:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.elliottsprehn.com/blog/2007/07/17/getting-the-expected-results-for-getcurrenttemplatepath-in-a-custom-tag/#comment-16113</guid>
		<description>I blogged about something similar to this back in February but dealing with functions in components calling a function in another component.

http://www.garyrgilbert.com/blog/index.cfm/2008/2/4/What-Function-Called-My-Function

But your solution is a lot more elegant and you don&#039;t need to artificially throw an error to get it.</description>
		<content:encoded><![CDATA[<p>I blogged about something similar to this back in February but dealing with functions in components calling a function in another component.</p>
<p><a href="http://www.garyrgilbert.com/blog/index.cfm/2008/2/4/What-Function-Called-My-Function" rel="nofollow">http://www.garyrgilbert.com/blog/index.cfm/2008/2/4/What-Function-Called-My-Function</a></p>
<p>But your solution is a lot more elegant and you don&#8217;t need to artificially throw an error to get it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vid</title>
		<link>http://www.elliottsprehn.com/blog/2007/07/17/getting-the-expected-results-for-getcurrenttemplatepath-in-a-custom-tag/comment-page-1/#comment-16111</link>
		<dc:creator>Vid</dc:creator>
		<pubDate>Fri, 22 Aug 2008 02:43:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.elliottsprehn.com/blog/2007/07/17/getting-the-expected-results-for-getcurrenttemplatepath-in-a-custom-tag/#comment-16111</guid>
		<description>Very nice. 
It works in CF8 on IIS too. 
I&#039;ve had to rely on CGI.PATH_TRANSLATED in the past.</description>
		<content:encoded><![CDATA[<p>Very nice.<br />
It works in CF8 on IIS too.<br />
I&#8217;ve had to rely on CGI.PATH_TRANSLATED in the past.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Nadel</title>
		<link>http://www.elliottsprehn.com/blog/2007/07/17/getting-the-expected-results-for-getcurrenttemplatepath-in-a-custom-tag/comment-page-1/#comment-10347</link>
		<dc:creator>Ben Nadel</dc:creator>
		<pubDate>Thu, 24 Apr 2008 13:50:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.elliottsprehn.com/blog/2007/07/17/getting-the-expected-results-for-getcurrenttemplatepath-in-a-custom-tag/#comment-10347</guid>
		<description>@Elliot,

Any ideas on how to get the Page object of the calling template from within a CFC? I am trying to get at the internal functions, which are available via:

GetPageContext().GetPage()

Ex. 

GetPageContext().GetPage().ImageBlur()

However, these seem to only be available from a CFM page, not a CFC. In the CFC, the GetPage() object does not have these built-in CF functions. 

I need to access &quot;ImageBlur()&quot; in a dynamic way from within a CFC (otherwise I would just call the built-in method directly).

Thanks.</description>
		<content:encoded><![CDATA[<p>@Elliot,</p>
<p>Any ideas on how to get the Page object of the calling template from within a CFC? I am trying to get at the internal functions, which are available via:</p>
<p>GetPageContext().GetPage()</p>
<p>Ex. </p>
<p>GetPageContext().GetPage().ImageBlur()</p>
<p>However, these seem to only be available from a CFM page, not a CFC. In the CFC, the GetPage() object does not have these built-in CF functions. </p>
<p>I need to access &#8220;ImageBlur()&#8221; in a dynamic way from within a CFC (otherwise I would just call the built-in method directly).</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elliott</title>
		<link>http://www.elliottsprehn.com/blog/2007/07/17/getting-the-expected-results-for-getcurrenttemplatepath-in-a-custom-tag/comment-page-1/#comment-5611</link>
		<dc:creator>Elliott</dc:creator>
		<pubDate>Fri, 11 Jan 2008 10:22:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.elliottsprehn.com/blog/2007/07/17/getting-the-expected-results-for-getcurrenttemplatepath-in-a-custom-tag/#comment-5611</guid>
		<description>Ben,
To be honest I&#039;m not sure. I assume you mean like if you cfinclude the other template? Or do you mean cfcs?

I&#039;ll dig around in there to see where that information comes from.</description>
		<content:encoded><![CDATA[<p>Ben,<br />
To be honest I&#8217;m not sure. I assume you mean like if you cfinclude the other template? Or do you mean cfcs?</p>
<p>I&#8217;ll dig around in there to see where that information comes from.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Nadel</title>
		<link>http://www.elliottsprehn.com/blog/2007/07/17/getting-the-expected-results-for-getcurrenttemplatepath-in-a-custom-tag/comment-page-1/#comment-5583</link>
		<dc:creator>Ben Nadel</dc:creator>
		<pubDate>Thu, 10 Jan 2008 13:05:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.elliottsprehn.com/blog/2007/07/17/getting-the-expected-results-for-getcurrenttemplatepath-in-a-custom-tag/#comment-5583</guid>
		<description>Elliott,

I know we haven&#039;t touched on this in a while, but someone asked me a related question. With a custom tag, you can easily grab the context of the calling template using the CALLER scope. However, do you know if there is anything in the page context that gives that information such that it can be used from template to template without custom tags?

Is there any sense of &quot;caller&quot; stored in the page context itself?</description>
		<content:encoded><![CDATA[<p>Elliott,</p>
<p>I know we haven&#8217;t touched on this in a while, but someone asked me a related question. With a custom tag, you can easily grab the context of the calling template using the CALLER scope. However, do you know if there is anything in the page context that gives that information such that it can be used from template to template without custom tags?</p>
<p>Is there any sense of &#8220;caller&#8221; stored in the page context itself?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Nadel</title>
		<link>http://www.elliottsprehn.com/blog/2007/07/17/getting-the-expected-results-for-getcurrenttemplatepath-in-a-custom-tag/comment-page-1/#comment-466</link>
		<dc:creator>Ben Nadel</dc:creator>
		<pubDate>Tue, 17 Jul 2007 21:56:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.elliottsprehn.com/blog/2007/07/17/getting-the-expected-results-for-getcurrenttemplatepath-in-a-custom-tag/#comment-466</guid>
		<description>Elliott,

This is cool stuff. Just the other day, I also saw someone mess around with the ... oh wait, I just checked and that was YOU also :) Dang, you really get this PageContext structure.</description>
		<content:encoded><![CDATA[<p>Elliott,</p>
<p>This is cool stuff. Just the other day, I also saw someone mess around with the &#8230; oh wait, I just checked and that was YOU also :) Dang, you really get this PageContext structure.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
