is your component cached in some persistent scope (session/application)? it sounds like you have added the getTest() method after the component has been instantiated - and thus its instance has no idea about the getTest() method added later...
Azadi On 10/11/2010 21:50 , Jessica Kennedy wrote: > ok, tried this, it failed on the var scoped line instead of the structAppend > line... same error message though. > > I have an ajax handler method which instantiates all of my ajax calls-- also > with an access="public". very strange. I am able to call other methods, but > I have to create an object for the cfc and then call the method within it. > seems ridiculous to do this for the component my code is already in. > > >> try replacing your failing line with these 2: >> >> var stuctTest = getTest(); >> structAppend(returnData, structTest); >> >> Azadi >> >> >> On 10/11/2010 09:56 , Jessica Kennedy wrote: >>> structAppend(returnData, getTest());//failing here! > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339090 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

