ColdFusion 8 Application Specific Mappings Work With The CFComponent Extends Attribute

<cfcomponent
	output="false"
	hint="I provide application level settings and event handlers.">
 
	<!--- Defnie request settings. --->
	<cfsetting showdebugoutput="false" />
 
	<!--- Define application-specific mappings. --->
	<cfset THIS.Mappings[ "/com" ] = (
		REReplace(
			GetDirectoryFromPath( GetCurrentTemplatePath() ),
			"[^\\/]+[\\/]$",
			"",
			"one"
			) &
		"com\"
		) />
 
</cfcomponent>

For Cut-and-Paste