You can try to hack around it ( http://www.bennadel.com/blog/348-Creating-ColdFusion-Components-In-Parent-Directories-From-Sub-Directories-Without-Mapped-Paths.htm), but just do it correctly and create a CF mapping. CFCs aren't meant to be referenced relatively. Further, if you ever use ColdSpring or Flex you'll need to use full paths anyway. I'd say save yourself the trouble later and just to it right from the start.
On Nov 15, 2007 11:51 AM, Davide Campo <[EMAIL PROTECTED]> wrote: > Hi all > > i've the follow problem: > > Folders and files: > 1- admin/Application.CFC > 2- Application.CFC > 3- WebConfig.CFC > > In Application.CFC (2) i call in OnRequestStart the init method of > WebConfig.cfc by cfinvoke. > > How can i invoke init method of WebConfig.cfc by admin/Application.CFC (1) > by relative path? > - can i invoke component="../WebConfig.cfc" method="init" by > admin/Application.CFC (1)??? > > HELP > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293433 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

