marc,
I always init() my cfc's like this:
VARIABLES.dsn is always available in any methods for me. I don't know about
your specific problem tho.
HTH,
Will
~|
Adobe® ColdFusion® 8 software 8 is the most important
Ok, that was the problem!
Just before where I do a call to the function in the cfc I did a cfinvoke and
called on the resultvar of that operation. The init() method had not been
invoked.
I did this because Godaddy is not supporting Createobject() so I had to rewrite
parts of the app and obviou
>
>
That says, VARIABLES.dsn.users, not THIS.dsn.users correct?
They are two different scopes. The VARIABLES scope is private to the
component, the this scope is public. Chances are you want to set everything
in the VARIABLES scope rather than the THIS scope.
HTH
Dominic
--
Blog it up: http
Oops, sorry for the doubleposting...
I thought I'd add the line that produces the actual error:
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Fre
Did you reset the Application scope afterwards?
On Sun, Apr 20, 2008 at 7:23 PM, marc -- <[EMAIL PROTECTED]> wrote:
> If that was the problem an error would be thrown at the line where
> THIS.DSN.USERS is set... Anyway, I tried it and it's not making a difference.
>
>
>
~~
If that was the problem an error would be thrown at the line where
THIS.DSN.USERS is set... Anyway, I tried it and it's not making a difference.
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
If that was the problem an error would be thrown at the line where
THIS.DSN.USERS is set... Anyway, I tried it and it's not making a difference.
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
ook",dsn_irama="irama",maxStringLength=25)>
>
> This is the method definition:
>
>
>
>
>
>
>
>
>
>
>
>
>
> When later I call another method
Hello,
I have this call:
This is the method definition:
When later I call another method in this cfc and refer to the value of
this.dsn.users I get the errormessage:
Element DSN.USERS is undefined in
9 matches
Mail list logo