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:
Benedikt L.
09/02/2008 02:28 AM

Hi Chris, i want to include two .cfc-Files in one .cfm-File to run Queries with AJAX(Javascript) Something like this: <script language="javascript">   _ajaxConfig = {  '_cfscriptLocation':'CFC/index.cfc',                   '_jsscriptFolder':'../../ajaxCFC/core/js',                   'debug':false};   _ajaxConfig2 = {'_cfscriptLocation':'CFC/index2.cfc',                   '_jsscriptFolder':'../../ajaxCFC/core/js',                   'debug':false}; DWREngine._execute(  _ajaxConfig._cfscriptLocation,                       null,                       'load',                       g_iProjectError_ID,                       loadCallback); </script> Now I want to run Functions in both files. But when I include the second .cfc file like this, it doesn't work. I can't run scripts which are written in the second included File. How can i do this? >I don't understand what you're asking. Can you be more specific? Maybe >include some code or pseudo-code? > >Thanks, >Chris > > > >>


Search ajax

February 12, 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