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
.
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
.
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
Try component=gallerycomponents.functions
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
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
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
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
: 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
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
-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
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
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
12 matches
Mail list logo