That was it (both of them actually) This list is a hair saver :)
Thanks much! Joelle Lincoln Milner wrote: > Yes, it is possible, I do it. A few things I've noted: > > 1. Maybe just a typo, but make sure your root folder (components) > matches your root folder in the invoke (currently component) > > 2. If "components" is in the web root, then it should work. If it > isn't, then you have two options > a. Add the parent folders of "components" to the invoke call > (i.e., "webroot.components.view.roles") > b. Add a CF mapping for the logical name /components and point > it to the physical location > > Cheers! > Lincoln > > -----Original Message----- > From: Joelle Tegwen [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 26, 2006 10:29 AM > To: CF-Talk > Subject: invoking components in sibling folders > > I have a folder structure that looks like this: > components > -actions > f createUser.cfc > -controller > f createUser.cfc > -view > f roles.cfc > > I'm trying to call roles.findAll from controller.createUser > > I thought it would just be this: > <cfinvoke component="component.view.roles" method="findAll" > returnvariable="roleStruct.roles"> </cfinvoke> > > but cf says that it can't find the component. All of the documentation > says is how to access from a parent folder or the same folder. > Is this even possible? > > Thanks > Joelle > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238786 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

