Sorry for the hijack, but how are people using Application.cfc to create sub applications with the following structure:
Application.cfc - Main app admin\Application.cfc - Sub app Where the sub app wants to have extend the main app's App.cfc? Adrian -----Original Message----- From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] Sent: 13 February 2008 12:52 To: CF-Talk Subject: RE: Relative path when instantiating a CFC? >>I want to use a relative path when instantiating a CFC. Can this be done >>when using createObject()? Can it be done at all? > > >There is also a UDF at cflib that allows relative paths. Though it does use >coldfusion.runtime.TemplateProxy. So it might not work in CF8 if access to >internal java components is disabled. > >http://cflib.org/udf.cfm?ID=900 The updated version on my blog works with CF6/7/8: http://blog.pengoworks.com/index.cfm/2003/3/27/UDF-component-for-CFMX It uses the TemplateProxyFactory for CF7 & 8. The obviously uses undocument internals for CF, so there's always the possibility it will break in the future. However, it's been working fine for me over 5 years. -Dan ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298869 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

