House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / Ajax

AJAXCFC two cfc Files?

Author:
Chris Jordan
09/02/2008 09:46 AM

Oh! I see... you're using the version of AjaxCFC that uses the DWREngine... I'm afraid I'm not very familiar with that one. I dropped it as soon as Rob ported it to use jQuery. In the jQuery version of AjaxCFC what you're trying to do is much, much, much simpiler. Mainly, the reason is because you don't include any specific CFC file. You just include the main ajaxcfc file, and then you make your ajax call you tell it which cfc you want to use and which method in that cfc you want to use. Beyond that I'm thinking that the answer would be something like writing a facade cfm file (not even sure I'm using that term right) that you include which would then call your individual cfc files. I realise that's probably not too much help. If you're not married to using the DWREngine stuff, and want further explaination of how to get things up and running with jQuery, and the jQuery version of AjaxCFC (which is SUPER-DUPER simple) lemme know. I can help lots more. Chris > Sorry... i sent this post before i was finished xD > >        DWREngine._execute(     _ajaxConfig._cfscriptLocation, >                                null, >                                'load', >                                g_iProjectError_ID, >                                loadCallback); > > And the load function is written in the Second-File.. So AJAX can't find > the function because it doesn't know this function/file. > > The way above to include a second .cfc-File which I can use with AJAX > doesn't work. > >


Search ajax

February 11, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29