Depends on the efficiency of your construct. If you do it right, there are many. That CFC would just be apart of a larger OO schema.
Phil -----Original Message----- From: Aaron Rouse [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 01, 2004 12:30 PM To: CF-Talk Subject: Re: CFMODULE vs. CFINCLUDE 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 Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185834 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