: cfparam in cfc?
Hmm, this could be it. It is variables scope. Although it only NOT works
occasionally. It doesn't fail every single time.
What I do is I create a structure in the init method to hold the form and
url variables that I passed into the CFC. I use the cfparam to make sure
Does cfparam work well in CFC? Occasionally I get errors
that say a variable is not defined even though I have cfparam
right above it to define the variable. Does anyone know what
is going? Should I change all my cfparam to cfif statement
to define my variables within CFCs?
I haven't
What scope? I think vars in the variables scope have to be referenced
as variables.var_name or they won't work.
~Brad
-Original Message-
From: Johnny Le [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 01, 2006 11:40 AM
To: CF-Talk
Subject: cfparam in cfc?
Does cfparam work well in
Paraming is wicked cool no matter where you put it. Can you post your
function code so we can see potential pit falls.
...
Ben Nadel
www.bennadel.com
-Original Message-
From: Johnny Le [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 01, 2006 12:40 PM
To: CF-Talk
Hmm, this could be it. It is variables scope. Although it only NOT works
occasionally. It doesn't fail every single time.
What I do is I create a structure in the init method to hold the form and url
variables that I passed into the CFC. I use the cfparam to make sure the
variable exists
5 matches
Mail list logo