test.cfm is calling the component with the cfinvoke tag. This should be much simpler than it is!
Neil ----- Original Message ----- From: "Raymond Camden" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, June 25, 2002 8:37 AM Subject: RE: Kevin Towes Presentation. > I _think_ (and Neil, please tell us) he was saying that > /cfc-helloworld/test.cfm was the _caller_ script, not the component. > > Which is it, Neil? > > ======================================================================= > Raymond Camden, ColdFusion Jedi Master for Macromedia > > Email : [EMAIL PROTECTED] > Yahoo IM : morpheus > > "My ally is the Force, and a powerful ally it is." - Yoda > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, June 25, 2002 8:16 AM > > To: CF-Talk > > Subject: Re: Kevin Towes Presentation. > > > > > > Neil, > > > > Your cfinvoke should just be > > > > components="cfc-helloworld.test" > > > > If http://mydomain/cfc-helloworld/test.cfm <-- This is your > > component, it > > must end with a .cfc not .cfm > > > > Currently your invoke statement is looking for: > > > > cfc-helloworld.modules.helloworld = > > /cfc-helloworld/modules/helloworld.cfc > > > > This make any sense for you? > > > > HTH, > > ~Todd > > > > On Tue, 25 Jun 2002, Neil H. wrote: > > > > > Raymond, > > > > > > This isn't working: > > > > > > <cfoutput> > > > <cfinvoke > > > component="cfc-helloworld.modules.helloworld" > > > method="sayHello" > > > returnVariable="message" /> > > > #message# > > > </cfoutput> > > > > > > My Path to the site would be http://mydomain/cfc-helloworld/test.cfm > > > > > > Please let me know what I am missing! > > > > > > Thanks, > > > > > > Neil > > > > > > > > > ----- Original Message ----- > > > From: "Raymond Camden" <[EMAIL PROTECTED]> > > > To: "CF-Talk" <[EMAIL PROTECTED]> > > > Sent: Tuesday, June 18, 2002 1:42 PM > > > Subject: RE: Kevin Towes Presentation. > > > > > > > > > > Ah - sorry - the 'package' (or path) to the cfc should be > > from the web > > > > root (or vitual dir, or custom tag path). Since your > > modules folder is > > > > under cfc-helloworld, your path should be: > > > > > > > > component="cfc-helloword.modules.HelloWord" > > > > > > > > > > ============================================================== > > ========= > > > > Raymond Camden, ColdFusion Jedi Master for Macromedia > > > > > > > > Email : [EMAIL PROTECTED] > > > > Yahoo IM : morpheus > > > > > > > > "My ally is the Force, and a powerful ally it is." - Yoda > > > > > > > > > -----Original Message----- > > > > > From: Neil H. [mailto:[EMAIL PROTECTED]] > > > > > Sent: Tuesday, June 18, 2002 12:14 PM > > > > > To: CF-Talk > > > > > Subject: Re: Kevin Towes Presentation. > > > > > > > > > > > > > > > Here is my code: > > > > > > > > > > <cfoutput> > > > > > <cfinvoke > > > > > component="modules.HelloWorld" > > > > > method="sayHello" > > > > > returnVariable="message" > > > > > /> > > > > > #message# > > > > > </cfoutput> > > > > > > > > > > Here is the error: > > > > > Could not find the template modules.helloworld > > > > > > > > > > > > > > > The Error Occurred in > > > > > C:\Intranet\cfc-helloworld\test.cfm: line 6 > > > > > > > > > > 4 : method="sayHello" > > > > > 5 : returnVariable="message" > > > > > 6 : /> > > > > > 7 : #message# > > > > > 8 : </cfoutput> > > > > > > > > > > > > > > > > > > > > Neil > > > > > ----- Original Message ----- > > > > > From: "Raymond Camden" <[EMAIL PROTECTED]> > > > > > To: "CF-Talk" <[EMAIL PROTECTED]> > > > > > Sent: Tuesday, June 18, 2002 12:02 PM > > > > > Subject: RE: Kevin Towes Presentation. > > > > > > > > > > > > > > > > Can you show us the code, ie, your import - and maybe > > share a URL? > > > > > > > > > > > > > > > > > ============================================================== > > > > > ========= > > > > > > Raymond Camden, ColdFusion Jedi Master for Macromedia > > > > > > > > > > > > Email : [EMAIL PROTECTED] > > > > > > Yahoo IM : morpheus > > > > > > > > > > > > "My ally is the Force, and a powerful ally it is." - Yoda > > > > > > > > > > > > > -----Original Message----- > > > > > > > From: Neil H. [mailto:[EMAIL PROTECTED]] > > > > > > > Sent: Tuesday, June 18, 2002 11:52 AM > > > > > > > To: CF-Talk > > > > > > > Subject: Re: Kevin Towes Presentation. > > > > > > > > > > > > > > > > > > > > > As sure as I am writing this email. > > > > > > > > > > > > > > Neil > > > > > > > > > > > > > > ----- Original Message ----- > > > > > > > From: "Raymond Camden" <[EMAIL PROTECTED]> > > > > > > > To: "CF-Talk" <[EMAIL PROTECTED]> > > > > > > > Sent: Tuesday, June 18, 2002 11:35 AM > > > > > > > Subject: RE: Kevin Towes Presentation. > > > > > > > > > > > > > > > > > > > > > > > I deleted the .cfc file and I can still run it! > > That is what > > > > > > > > Ah - yea - restart the server. :> > > > > > > > > > > > > > > > > > is meant by > > > > > > > > > cache. And when I put Modules.HelloWorld I get an error > > > > > > > > > about it unable to > > > > > > > > > find the cfc file? > > > > > > > > > > > > > > > > So, you are sure that, under web root, the folder is > > > > > Modules and the > > > > > > > > file name is HelloWorld.cfc? > > > > > > > > > > > > > > > > > > > > > > > > > ============================================================== > > > > > > > ========= > > > > > > > > Raymond Camden, ColdFusion Jedi Master for Macromedia > > > > > > > > > > > > > > > > Email : [EMAIL PROTECTED] > > > > > > > > Yahoo IM : morpheus > > > > > > > > > > > > > > > > "My ally is the Force, and a powerful ally it is." - Yoda > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

