Actually, I guess there is an isObject() method (which I could have sworn
wasn't in the docs when I looked last night :) ) which I could use.
On Sun, Jun 27, 2010 at 5:30 AM, Scott Brady wrote:
> We actually have a dump() method in our base component, but that has caused
> us problems in our on
We actually have a dump() method in our base component, but that has caused
us problems in our onError method. (which I think I just figured out).
Maybe the real question is ... if I have a variable name, how do I determine
if it's a CFC? Or, more accurately, is there a way that, given a variabl
> If all your CFCs extend a single base component, this is even easier since
> you can put the method there.
And, of course, all your CFCs do extend a single base component by
default - component.cfc. You can add a dump method to that on your dev
server, if you only need to dump in your dev envir
;
To: "cf-talk"
Sent: Saturday, June 26, 2010 9:17 PM
Subject: Dump out CFC properties/variables
>
> What's a good way to dump out the properties/instance variables of a CFC?
>
> I have a page where I can pass in a variable name and dumping it out
> dynamically. B
What's a good way to dump out the properties/instance variables of a CFC?
I have a page where I can pass in a variable name and dumping it out
dynamically. But, with CFCs, obviously all I get are method names, which
aren't that useful, when, in the case of beans, I want the values of the
variable
5 matches
Mail list logo