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
> > > >
> > > >
> > > >
> > >
> > 
> 
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.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

Reply via email to