Re: cfparam in cfc?

2006-08-02 Thread Robertson-Ravo, Neil (RX)
: 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

RE: cfparam in cfc?

2006-08-01 Thread Dave Watts
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

RE: cfparam in cfc?

2006-08-01 Thread Brad Wood
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

RE: cfparam in cfc?

2006-08-01 Thread Ben Nadel
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

Re: cfparam in cfc?

2006-08-01 Thread Johnny Le
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