Er, what Ray said. "modules.HelloWorld"
Doing too many things at once. ~Todd On Tue, 18 Jun 2002 [EMAIL PROTECTED] wrote: > > Yes, your invoke would be: > > modules.HelloWorld.cfc > > Is it not working for you? > > ~Todd > > On Tue, 18 Jun 2002, Neil H. wrote: > > > Todd, > > I understand that but you keep saying \com\macromedia... > > > > If I have : > > > > MODULES > > - HelloWorld.cfc > > Test.cfm > > > > where HelloWorld.cfc is in the modules subdirectory on the same level as > > test.cfm would i then use > > > > modules.HelloWorld.cfc? > > > > Is there something that needs to be changed to adjust that caching? > > > > Neil > > > > ----- Original Message ----- > > From: <[EMAIL PROTECTED]> > > To: "CF-Talk" <[EMAIL PROTECTED]> > > Sent: Tuesday, June 18, 2002 10:38 AM > > Subject: Re: Kevin Towes Presentation. > > > > > > > If the .cfc is in the same directory as the .cfm then, it's > > > > > > <cfinvoke component="HelloWorld" ... > > > > > > > It's only sub directories (regular, mapped or global) that you need to > > > start doing the dot notation. > > > > > > Example: <cfinvoke component="com.macromedia.test.HelloWorld" ... > > > > Implies: \com\macromedia\test\HelloWorld.cfc > > > > > > HTH, > > > ~Todd > > > > > > > > > On Tue, 18 Jun 2002, Neil H. wrote: > > > > > > > That seems crappy that I have to kill the cache. Anyone have any > > thoughts > > > > about that? Also its no /cfc but cfc on the same level as the test.cfm > > > > page. How does that play in? > > > > > > > > Neil > > > > > > > > ----- Original Message ----- > > > > From: <[EMAIL PROTECTED]> > > > > To: "CF-Talk" <[EMAIL PROTECTED]> > > > > Sent: Tuesday, June 18, 2002 7:48 AM > > > > Subject: Re: Kevin Towes Presentation. > > > > > > > > > > > > > Majority of what you said should work... > > > > > > > > > > <cfinvoke component="cfc.HelloWorld" ... > > > > > > > > > > > This assumes that you're doing the following, you're looking for > > > > > Helloworld.cfc in the /cfc directory. Otherwise, if it's not in the > > cfc > > > > > directory, it goes through the chain (it'll search for global/mapped > > > > directories > > > > > next, etc). > > > > > > > > > > As for having deleted stuff and still seeing it. I've had that happen > > to > > > > > me too often. What I found was by going to: > > > > > > > > > > E:\Development\CFusionMX\wwwroot\WEB-INF\cfclasses > > > > > > > > > > This is where the cache for the cfc's (and regualar cfm's?) are > > located -- > > > > > clear out this directory and everything's gone again. > > > > > > > > > > ~Todd > > > > > > > > > > > > > > > On Tue, 18 Jun 2002, Neil H. wrote: > > > > > > > > > > > I am following > > > > > > > > > > > > http://www.macromedia.com/desdev/mx/coldfusion/articles/startremoting.html > > > > > > now. > > > > > > > > > > > > I seem to have a problem: > > > > > > > > > > > > I put the files: HelloWorld.cfc and the test.cfm in the same > > directory > > > > and > > > > > > changed the path in the test.cfm to just say > > > > > > > > > > > > <cfinvoke > > > > > > component="HelloWorld" > > > > > > > > > > > > Instead of: > > > > > > > > > > > > <cfinvoke > > > > > > component="com.macromedia.test.HelloWorld" > > > > > > > > > > > > I run it and it ran fine. > > > > > > > > > > > > Then I wanted to move the file to a cfc directory. So I moved the > > cfc > > > > file > > > > > > to a CFC directory and adjusted my code to read: > > > > > > > > > > > > <cfinvoke > > > > > > component="cfc.HelloWorld" > > > > > > > > > > > > This caused an error saying it couldn't be found. > > > > > > > > > > > > I thought possibly the directory name CFC could be a problem so I > > > > renamed it > > > > > > to modules and adjsuted the code accordingly and still an error. I > > put > > > > the > > > > > > code back to just HelloWorld with no directory and it worked... BUT > > the > > > > cfc > > > > > > isn't in the root. I thought "hmm its smart enough to go find it?" > > > > Then I > > > > > > deleted the file in the modules directory and it still worked!!! I > > > > restarted > > > > > > CF and it still worked with no CFC there. I must be missing > > > > something... > > > > > > > > > > > > Any ideas? > > > > > > > > > > > > Thanks, > > > > > > > > > > > > Neil Heuer > > > > > > [EMAIL PROTECTED] > > > > > > > > > > > > ----- Original Message ----- > > > > > > From: "Neil H." <[EMAIL PROTECTED]> > > > > > > To: "CF-Talk" <[EMAIL PROTECTED]> > > > > > > Sent: Monday, June 17, 2002 11:16 PM > > > > > > Subject: Re: Kevin Towes Presentation. > > > > > > > > > > > > > > > > > > > Thanks. > > > > > > > > > > > > > > Next question how can you print the live docs easily? > > > > > > > > > > > > > > Neil Heuer > > > > > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > ----- Original Message ----- > > > > > > > From: "Critz" <[EMAIL PROTECTED]> > > > > > > > To: "CF-Talk" <[EMAIL PROTECTED]> > > > > > > > Sent: Monday, June 17, 2002 11:05 PM > > > > > > > Subject: Re: Kevin Towes Presentation. > > > > > > > > > > > > > > > > > > > > > > oi Neil!! > > > > > > > > > > > > > > > > > > > > > > > > oi mate. fire up flash mx and click the help /Flash Support > > Center > > > > > > > > > > > > > > > > that should get ya sorted > > > > > > > > > > > > > > > > -- > > > > > > > > Best regards, > > > > > > > > > > > > > > > > Critter, MMCP > > > > > > > > Certified ColdFusion Developer > > > > > > > > > > > > > > > > Crit[s2k] - <CF_ChannelOp Network="EFNet" Channel="ColdFusion"> > > > > > > > > ------------------------------------ > > > > > > > > > > > > > > > > Monday, June 17, 2002, 10:53:01 PM, you wrote: > > > > > > > > > > > > > > > > NH> First let me say that CFUN02 was AMAZING!!! It was truly > > > > awesome. > > > > > > > > > > > > > > > > NH> Kevin Towe's presentation got me thinking. So I got Flash > > MX > > > > and > > > > > > now > > > > > > > I am > > > > > > > > NH> lost :) I don't know where to begin. I started to mess > > around > > > > > > with > > > > > > > the > > > > > > > > NH> interface but I need a really simple example. Anyone know > > where > > > > I > > > > > > can > > > > > > > see > > > > > > > > NH> some step by step instructions on making a usable form and > > Flash > > > > > > > Remoting? > > > > > > > > > > > > > > > > NH> Thanks! > > > > > > > > > > > > > > > > NH> Neil Heuer > > > > > > > > NH> [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > NH> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ______________________________________________________________________ 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

