CFCs have used dot notation since Day 1 of their existence. The reason is because CFCs (loosely) represent classes, which are grouped in packages. In other languages, like Java - which CF runs on top of, those packages are always denoted in dot notation. For example:
java.util.List java.net.InetAddress java.io.File HTH On Thu, May 3, 2012 at 12:38 PM, Rick Faircloth <r...@whitestonemedia.com>wrote: > > Just for clarification... > > Why would CF begin to use dot notation for cfc's instead of sticking > with the familiar "../", etc, syntax? > > The dot notation has been a pain in my rear on more 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: > > > > 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 component="gallerycomponents.functions" method="getTags"> > > -ray > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350985 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm