Re: CFINVOKE - Component Location

2012-05-03 Thread Raymond Camden
Can you use a cfmapping? On Thu, May 3, 2012 at 10:43 AM, Jenny Gavin-Wear jenn...@fasttrackonline.co.uk wrote: Hi all, I'm trying to work out how to point to the file location of a component using cfinvoke. I am storing all of the component files for my application in one directory

RE: CFINVOKE - Component Location

2012-05-03 Thread Jenny Gavin-Wear
. Thanks, Jenny -Original Message- From: Raymond Camden [mailto:raymondcam...@gmail.com] Sent: 03 May 2012 16:51 To: cf-talk Subject: Re: CFINVOKE - Component Location Can you use a cfmapping? On Thu, May 3, 2012 at 10:43 AM, Jenny Gavin-Wear jenn...@fasttrackonline.co.uk wrote: Hi

Re: CFINVOKE - Component Location

2012-05-03 Thread Matt Quackenbush
. Thanks, Jenny -Original Message- From: Raymond Camden [mailto:raymondcam...@gmail.com] Sent: 03 May 2012 16:51 To: cf-talk Subject: Re: CFINVOKE - Component Location Can you use a cfmapping? On Thu, May 3, 2012 at 10:43 AM, Jenny Gavin-Wear jenn...@fasttrackonline.co.uk wrote

Re: CFINVOKE - Component Location

2012-05-03 Thread Bobby
Try component=gallerycomponents.functions ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive:

RE: CFINVOKE - Component Location

2012-05-03 Thread Jenny Gavin-Wear
Thanks Bobby, sorted. -Original Message- From: Bobby [mailto:bo...@acoderslife.com] Sent: 03 May 2012 17:41 To: cf-talk Subject: Re: CFINVOKE - Component Location Try component=gallerycomponents.functions ~~ ~~~| Order

RE: CFINVOKE - Component Location

2012-05-03 Thread Jenny Gavin-Wear
Thanks Matt. -Original Message- From: Matt Quackenbush [mailto:quackfu...@gmail.com] Sent: 03 May 2012 17:36 To: cf-talk Subject: Re: CFINVOKE - Component Location You'll want to use dot notation. So, using your example of /gallerycomponents/functions.cfc, you'd do the following

Re: CFINVOKE - Component Location

2012-05-03 Thread Raymond Camden
On Thu, May 3, 2012 at 11:29 AM, Jenny Gavin-Wear jenn...@fasttrackonline.co.uk wrote: Then I tried running the cfinvoke as follows, but it appears I have some syntax wrong. cfinvoke component=/gallerycomponents/functions.cfc method=getTags No, you use dot notation for CFCs. Try cfinvoke

RE: CFINVOKE - Component Location

2012-05-03 Thread Rick Faircloth
: Thursday, May 03, 2012 1:01 PM To: cf-talk Subject: Re: CFINVOKE - Component Location On Thu, May 3, 2012 at 11:29 AM, Jenny Gavin-Wear jenn...@fasttrackonline.co.uk wrote: Then I tried running the cfinvoke as follows, but it appears I have some syntax wrong. cfinvoke component

Re: CFINVOKE - Component Location

2012-05-03 Thread Matt Quackenbush
than one occasion. Rick -Original Message- From: Raymond Camden [mailto:raymondcam...@gmail.com] Sent: Thursday, May 03, 2012 1:01 PM To: cf-talk Subject: Re: CFINVOKE - Component Location On Thu, May 3, 2012 at 11:29 AM, Jenny Gavin-Wear jenn...@fasttrackonline.co.uk wrote

Re: CFINVOKE - Component Location

2012-05-03 Thread Matt Quackenbush
-Original Message- From: Raymond Camden [mailto:raymondcam...@gmail.com] Sent: Thursday, May 03, 2012 1:01 PM To: cf-talk Subject: Re: CFINVOKE - Component Location On Thu, May 3, 2012 at 11:29 AM, Jenny Gavin-Wear jenn...@fasttrackonline.co.uk wrote: Then I tried running

Re: CFINVOKE - Component Location

2012-05-03 Thread Christopher Watson
In all my work with CF, I have always housed my CFCs in a dedicated root directory (typically named CFC), and I just set up the path alias in CF Admin, so that all I ever have to use in the component attribute of the cfinvoke tag is the actual name of the component: cfinvoke

Re: CFINVOKE - Component Location

2012-05-03 Thread Jochem van Dieten
On Thu, May 3, 2012 at 7:38 PM, Rick Faircloth wrote: Why would CF begin to use dot notation for cfc's instead of sticking with the familiar ../, etc, syntax? Because it represents the package and the component instead of the directory and the file, i.e. it represents a logical hierarchy