Yep, that's pretty much the behaviour I'd expect if you take out a single method:
<cfset myCFC = APPLICATION.cfc.data[URL.method]> and then try to call it. cfinvoke should give you the ability to call the dynamic method name you are after. On 6/22/07, Andy Matthews <[EMAIL PROTECTED]> wrote: > I'm working on some code which will make an AJAX call for an app. I keep > getting the following error: > > Variable PREPARETEXT is undefined. > > Eventually I'll be running this through javascript, but for the time being > I'm just trying to diagnose it. This is the URL I'm calling to test: > http://localhost/admin/ajax.cfm?method=getContent&id=6 > > I've tried calling prepareText directly and it works just fine. I also tried > calling another method from prepareText and got the same error. It's like my > methods can't see each other, but they're in the same CFC. I've tried setting > their access levels to all possible values but still the same error. The > getContent method is the only one which will ever be called directly. All of > the other methods will be private. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281867 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

