Would there be any advantage to doing this though?
--
Aaron Rouse
http://www.happyhacker.com/
On Wed, 1 Dec 2004 11:30:30 -0600, Phillip Holmes
<[EMAIL PROTECTED]> wrote:
> If running CFMX, you could always do this as well (with CFMODULE or
> CFINCLUDE):
>
> <cfscript>
> variables.iString = "#application.mapping#/testfiles/includeme.cfm";
> inc_obj = CreateObject('component','include');
> inc_obj.INCLUDE( iString: variables.iString);
> </cfscript>
>
> INCLUDE CFC contents:
>
> <cfcomponent hint="I am an include" extends="<your_construct_here>">
> <cffunction name="INCLUDE" returntype="any" access="public">
> <cfargument name="iString" type="string" required="yes" />
> <cfinclude template="#arguments.iString#">
> </cffunction>
> </cfcomponent>
>
> Regards,
>
> Phillip B. Holmes
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185832
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54