Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
I am the chief technical officer at InVision App, Inc - a prototyping and collaboration platform for designers, built by designers. I also rock out in JavaScript and ColdFusion 24x7.
Meanwhile on Twitter
Loading latest tweet...
Ben Nadel at cf.Objective() 2014 (Bloomington, MN) with: Josh Siok

Judah

Member since Dec 11, 2008

Recent Blog Comments By Judah

  • Comprehensive ColdFusion Component OnMissingMethod() Testing

    Posted on Dec 12, 2008 at 12:35 PM

    @Ben No, I don't think that the THIS scope gives access to the private function. I think it should though. Maybe. When I use my proxy function to dynamically call another method within the same component, what is the origin of the request? I guess it is outside the component, because that's what ... read more »

  • Comprehensive ColdFusion Component OnMissingMethod() Testing

    Posted on Dec 11, 2008 at 6:39 PM

    @Ben - I just laid out a test case for your pondering and the answer is that it seems to be the same as calling the component from outside the object. Here's my test component: <cfcomponent name="test" output="false"> <cffunction name="init" access="public" output="false" returntype="tes... read more »

  • Comprehensive ColdFusion Component OnMissingMethod() Testing

    Posted on Dec 11, 2008 at 6:03 PM

    As a short follow up to my own comment, I also note that you can't use cfinvoke method="this.functionname" even if functionname is a function if that function is set to private. If the function is public, this.functionname works fine using cfinvoke. I can't decide if I think that is a bug or not. I... read more »

  • Comprehensive ColdFusion Component OnMissingMethod() Testing

    Posted on Dec 11, 2008 at 5:31 PM

    As an update to this, you should look at how it behaves using cfinvoke. I've got a situation where I have a variable passed into my function and I want to call another function internal to that object that has the same name as the variable. Since I'm trying to call a dynamically named method, I am u... read more »