RE: Simple CFC question...

2006-11-01 Thread Gaulin, Mark
It's returnVariable, not return -Original Message- From: J W [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 10:00 AM To: CF-Talk Subject: Simple CFC question... I will probably do the Homer Doh!! After I hear the answer.. Here is a very simple CFC called mycfc.cfc

Re: Simple CFC question...

2006-11-01 Thread J W
See DOH!! Thanks! On 11/1/06, Gaulin, Mark [EMAIL PROTECTED] wrote: It's returnVariable, not return -Original Message- From: J W [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 10:00 AM To: CF-Talk Subject: Simple CFC question... I will probably do the Homer

RE: Simple CFC question

2004-03-30 Thread Ben Densmore
If C:\inetpub\mysite is your web root then you should be able to reference it like cfset object = createObject(component, admin.store.cf-inf.cfc.products) / Ben -Original Message- From: Mark Leder [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 3:31 PM To: CF-Talk Subject:

RE: Simple CFC question

2004-03-30 Thread Mark Leder
=ListProducts returnvariable=qProducts Thanks, Mark _ From: Ben Densmore [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 3:45 PM To: CF-Talk Subject: RE: Simple CFC question If C:\inetpub\mysite is your web root then you should be able to reference it like cfset object = createObject

RE: Simple CFC question

2004-03-30 Thread Raymond Camden
To: CF-Talk Subject: RE: Simple CFC question For some reason I still can't get it to work, error thrown says it can't find the component - i checked to make sure it was posted and correct spelling. Here's what I've done: cfset object = createObject(component, admin.store.cf

RE: Simple CFC question

2004-03-30 Thread Mark Leder
, just to make sure: C:\inetpub\mysite\admin\store\cf-inf\cfc\products.cfc Thanks, Mark _ From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 5:00 PM To: CF-Talk Subject: RE: Simple CFC question When you use cfinvoke on an instance, you need to pass the instance

RE: Simple CFC question

2004-03-30 Thread Ben Densmore
: Tuesday, March 30, 2004 3:57 PM To: CF-Talk Subject: RE: Simple CFC question For some reason I still can't get it to work, error thrown says it can't find the component - i checked to make sure it was posted and correct spelling. Here's what I've done: cfset object = createObject(component

RE: Simple CFC question

2004-03-30 Thread Ben Densmore
Have you tried mysite.admin.store.cf-inf.cfc.products? Maybe your webroot is just c:\inetpub? Ben -Original Message- From: Mark Leder [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 4:17 PM To: CF-Talk Subject: RE: Simple CFC question When I put the cfc in the same directory

RE: Simple CFC question

2004-03-30 Thread Raymond Camden
When I put the cfc in the same directory as the cfm page calling it, the cfc works correctly and the cfm page displays as it should. That is because when you used cfinvoke object=foo, it tries to create an instance of foo, since it was in the same directory, it was able to. You basically

RE: Simple CFC question

2004-03-30 Thread Mark Leder
Yes, I did try your suggestion here, but it didn't work. Thanks, Mark _ From: Ben Densmore [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 4:21 PM To: CF-Talk Subject: RE: Simple CFC question Have you tried mysite.admin.store.cf-inf.cfc.products? Maybe your webroot is just c

RE: Simple CFC question

2004-03-30 Thread Ben Densmore
:34 PM To: CF-Talk Subject: RE: Simple CFC question Yes, I did try your suggestion here, but it didn't work. Thanks, Mark _ From: Ben Densmore [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 4:21 PM To: CF-Talk Subject: RE: Simple CFC question Have you tried mysite.admin.store.cf

RE: Simple CFC question

2004-03-30 Thread Mark Leder
: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 5:25 PM To: CF-Talk Subject: RE: Simple CFC question When I put the cfc in the same directory as the cfm page calling it, the cfc works correctly and the cfm page displays as it should. That is because when you used cfinvoke

RE: Simple CFC question

2004-03-30 Thread Raymond Camden
Is Admin or MySite the root of your web server? If it is mysite, you need to change your path to mysite.admin.etc. -Raymond Camden -Original Message- From: Mark Leder [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 3:57 PM To: CF-Talk Subject: RE: Simple CFC question

RE: Simple CFC question

2004-03-30 Thread Mark Leder
: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 6:06 PM To: CF-Talk Subject: RE: Simple CFC question Is Admin or MySite the root of your web server? If it is mysite, you need to change your path to mysite.admin.etc. -Raymond Camden -Original Message- From: Mark

RE: Simple CFC question RESOLVED

2004-03-30 Thread Mark Leder
, March 30, 2004 5:45 PM To: CF-Talk Subject: RE: Simple CFC question Doesn't work. The way the domains I manage are, in IIS6 c:\inetpub\websiteNameA\admin\... c:\inetpub\websiteNameB\admin\... and so on. also, I checked CFMX server admin and the mapping for / is c:\cfusion\wwwroot\ Does this make