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

<cfcomponent
	displayname="Girl"
	extends="AbstractBaseComponent"
	output="no"
	hint="I am a girl object.">
 
	<!--- Run the pseudo constructor to set up default data structures. --->
	<cfscript>
 
		// Set up default public properties.
		THIS.FirstName = "";
		THIS.LastName = "";
		THIS.ValidPickupLines = "";
 
	</cfscript>
 
 
	<cffunction name="Init" access="public" returntype="Girl" output="false"
		hint="Returns an initialized girl instance.">
 
		<!--- Define arguments. --->
		<cfargument name="FirstName" type="string" required="false" default="" />
		<cfargument name="LastName" type="string" required="false" default="" />
		<cfargument name="PickupLines" type="array" required="false" default="#ArrayNew( 1 )#" />
 
		<!--- Store arguments. --->
		<cfset THIS.FirstName = ARGUMENTS.FirstName />
		<cfset THIS.LastName = ARGUMENTS.LastName />
		<cfset THIS.ValidPickupLines = ARGUMENTS.PickupLines />
 
		<!--- Return This reference. --->
		<cfreturn THIS />
	</cffunction>
 
 
	<cffunction name="TryPickupLine" access="public" returntype="string" output="false"
		hint="This tries a pickup line on the Girl.">
 
		<!--- Define arguments. --->
		<cfargument name="Line" type="string" required="true" />
 
		<!--- Check to see if the pickup line is valid. --->
		<cfif (THIS.ValidPickupLines.IndexOf( JavaCast( "string", ARGUMENTS.Line ) ) GTE 0)>
 
			<!--- This was a valid pickup line. --->
			<cfreturn (
				"Hey, my name is " & THIS.FirstName & "." &
				" Why don't you buy me a drink?"
				) />
 
		<cfelse>
 
			<!--- This was NOT a valid pickup line. --->
			<cfreturn (
				"Does that line usually work with a woman? " &
				"Maybe you should try something else."
				) />
 
		</cfif>
 
	</cffunction>
 
</cfcomponent>

For Cut-and-Paste