You will get a 'method cannot be found' if you are passing invalid
arguments too it, because CF searches for a method with matching
arguments. You could have 2 functions:
New(int)
And
New(int, int)
Do you mean one function with two arguments, one of which that is not
required? You
Bruce,
Are you sure that you are not caching the components in the application
scope? I find that sometime I forget to re instantiate my components when I
add new methods to them.
Dan
On 9/13/07, Bruce Sorge [EMAIL PROTECTED] wrote:
I have CFC's that I am using throughout our districts web
on the same page, written on the same day are not.
Strange indeed.
Bruce
-Original Message-
From: Dan Vega
Sent: Thursday, September 13, 2007 11:00 AM
To: CF-Talk
Subject: Re: Getting error message on one page only
Bruce,
Are you sure that you are not caching the components
11:00 AM
To: CF-Talk
Subject: Re: Getting error message on one page only
Bruce,
Are you sure that you are not caching the components in the application
scope? I find that sometime I forget to re instantiate my components when
I
add new methods to them.
Dan
No I am not. And the methods that cannot be found were written last
Thursday. I just moved everything to the test server yesterday and
remembered that I did not check out the specific school sites that I am
looking at today.
Bruce - make sure any mappings are pointing where you think they
Can you refresh the components in the administrator?
~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
: RE: Getting error message on one page only
No I am not. And the methods that cannot be found were written last
Thursday. I just moved everything to the test server yesterday and
remembered that I did not check out the specific school sites that I am
looking at today. I just find it strange
PM
To: CF-Talk
Subject: Re: Getting error message on one page only
No I am not. And the methods that cannot be found were written last
Thursday. I just moved everything to the test server yesterday and
remembered that I did not check out the specific school sites that I
am looking at today
I did not think that one could overload ColdFusion component (CFC)
methods that way?
~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
Well the part that gets me is that it works fine on my dev box. No errors at
all.
-Original Message-
From: Peterson, Chris
Sent: Thursday, September 13, 2007 11:12 AM
To: CF-Talk
Subject: RE: Getting error message on one page only
You will get a 'method cannot be found' if you
, September 13, 2007 11:00 AM
To: CF-Talk
Subject: Re: Getting error message on one page only
Bruce,
Are you sure that you are not caching the components in the application
scope? I find that sometime I forget to re instantiate my components when
I
add new methods to them.
Dan
because I hate doing this). So now I have narrowed it down to
the dev folder. I will investigate further.
Bruce
-Original Message-
From: Dan Vega
Sent: Thursday, September 13, 2007 11:14 AM
To: CF-Talk
Subject: Re: Getting error message on one page only
If you dump the component do you
12 matches
Mail list logo