<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.4" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Getting the Expected Results for GetCurrentTemplatePath() in a Custom Tag.</title>
	<link>http://enfinitystudios.thaposse.net/blog/2007/07/17/getting-the-expected-results-for-getcurrenttemplatepath-in-a-custom-tag/</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Thu, 28 Aug 2008 04:36:18 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.4</generator>

	<item>
		<title>by: Vid</title>
		<link>http://enfinitystudios.thaposse.net/blog/2007/07/17/getting-the-expected-results-for-getcurrenttemplatepath-in-a-custom-tag/#comment-16111</link>
		<pubDate>Fri, 22 Aug 2008 02:43:39 +0000</pubDate>
		<guid>http://enfinitystudios.thaposse.net/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'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://enfinitystudios.thaposse.net/blog/2007/07/17/getting-the-expected-results-for-getcurrenttemplatepath-in-a-custom-tag/#comment-10347</link>
		<pubDate>Thu, 24 Apr 2008 13:50:28 +0000</pubDate>
		<guid>http://enfinitystudios.thaposse.net/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 "ImageBlur()" 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://enfinitystudios.thaposse.net/blog/2007/07/17/getting-the-expected-results-for-getcurrenttemplatepath-in-a-custom-tag/#comment-5611</link>
		<pubDate>Fri, 11 Jan 2008 10:22:56 +0000</pubDate>
		<guid>http://enfinitystudios.thaposse.net/blog/2007/07/17/getting-the-expected-results-for-getcurrenttemplatepath-in-a-custom-tag/#comment-5611</guid>
					<description>Ben,
To be honest I'm not sure. I assume you mean like if you cfinclude the other template? Or do you mean cfcs?

I'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://enfinitystudios.thaposse.net/blog/2007/07/17/getting-the-expected-results-for-getcurrenttemplatepath-in-a-custom-tag/#comment-5583</link>
		<pubDate>Thu, 10 Jan 2008 13:05:19 +0000</pubDate>
		<guid>http://enfinitystudios.thaposse.net/blog/2007/07/17/getting-the-expected-results-for-getcurrenttemplatepath-in-a-custom-tag/#comment-5583</guid>
					<description>Elliott,

I know we haven'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 "caller" 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://enfinitystudios.thaposse.net/blog/2007/07/17/getting-the-expected-results-for-getcurrenttemplatepath-in-a-custom-tag/#comment-466</link>
		<pubDate>Tue, 17 Jul 2007 21:56:00 +0000</pubDate>
		<guid>http://enfinitystudios.thaposse.net/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 <img src='http://enfinitystudios.thaposse.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Dang, you really get this PageContext structure.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
