Creating ColdFusion Components In Parent Directories (From Sub Directories) Without Mapped Paths

<cfcomponent
	displayname="Application"
	output="true"
	hint="I do pre-page processing for the application">
 
	<!---
		Run the pseudo constructor to set up default
		data structures.
	--->
	<cfscript>
 
		// Set up the application.
		THIS.Name = "CFC_TEST";
		THIS.ApplicationTimeout = CreateTimeSpan( 0, 0, 5, 0 );
		THIS.SessionManagement = false;
		THIS.SetClientCookies = false;
 
	</cfscript>
 
 
	<!--- Include the CFC creation proxy. --->
	<cfinclude template="../create_cfc.udf.cfm" />
 
 
	<cffunction
		name="OnRequestStart"
		access="public"
		returntype="boolean"
		output="true"
		hint="I do pre-page processing for the page request.">
 
		<!---
			Store the CreateCFC method in the application
			scope. We *wouldn't* do this for every page
			request... this is JUST an example.
		--->
		<cfset APPLICATION.CreateCFC = THIS.CreateCFC />
 
		<cfreturn true />
	</cffunction>
 
</cfcomponent>

For Cut-and-Paste