jquery - Unable to find a method in CFC -
basically i', going through code , encountered following ajax call using jquery:
$.ajax({ url: '<cfoutput>#rooturl#/#sessionpath#</cfoutput>/cfc/xyz.cfc? method=addnewbatch&returnformat=json&queryformat=column&_cf_nodebug=true&_cf_nocache=true', 1) have gone through xyz.cfc many times , unable find method name, addnewbatch. doing wrong? please clarify.
2) also, explain returnformat in url doing? or please let me know if there's documentation available type of returnformat mentioned in above url, i'll go through that.
thanks
others alluding already, it's possible xyz.cfc extends cfc have method addnewbatch(). @ top of xyz.cfc code , see if component line has "extends" attribute. if so, find cfc , may find method.
if you're not familiar, 1 cfc can "extend" another, meaning includes of functions , functions of extended cfc. object oriented concept.
Comments
Post a Comment