Hello people for once again,
While trying develop my first ajax application I have stuck with the following
problem.
I am using a function on my test.cfc which automatically generates some output
and I
want to pass the output on my test.cfm page.
Test.cfc looks like this:
<cfcomponent extends="ajax">
<cffunction name="myFuncIngrWorld" access="public" Output="Yes">
<cfoutput> "My ajax.cfc Coldfusion Example" </cfoutput>
</cffunction>
</cfcomponent>
and on the test.cfm we have:
<!-- <script type='text/javascript'>
_ajaxConfig = { '_cfscriptLocation':'Test.cfc',
'_jsscriptFolder':'../js',
'debug':true};
</script>
<script type='text/javascript' src='../js/ajax.js'></script>
<script type="text/javascript">
function doingr() {
DWREngine._execute(_ajaxConfig._cfscriptLocation, null, 'myFuncIngrWorld');
}
</script>-->
and:
<!--<a href="#"onClick='document.getElementById("contentMain").innerHTML =
doingr();'>example</a></li>-->
The debugers error is "invalid reply from server"
Thanx a lot for one more time...
Ioannis
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265415
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4