cfajaxproxy problem
Hi everyone,
i have a little problem using the cfajaxproxy tag or any other tag using ajax.
here is a the code
<cfajaxproxy cfc="mdh.dev.test.proxy" jsclassname="proxy" />
function testFunction() {
var instance = new proxy();
instance.setCallbackHandler(functionSuccess);
instance.testing();
}
the result in the source will be:
<script type="text/javascript">
var _cf_proxy=ColdFusion.AjaxProxy.init('/dev/test/test/proxy.cfc','mdh.dev.test.proxy');
_cf_proxy.prototype.testing=function() { return ColdFusion.AjaxProxy.invoke(this, "testing", {});};
</script>
the " mdh " is a logical mapping in coldfusion admin and in IIS
i can't find why the url is trunked in the source result.
instead of being
var _cf_proxy=ColdFusion.AjaxProxy.init('/mdh/dev/test/test/proxy.cfc','mdh.dev.test.proxy');
it create
var _cf_proxy=ColdFusion.AjaxProxy.init('/dev/test/test/proxy.cfc','mdh.dev.test.proxy');
anyone else having this problem ?
tyvm
