I have been unable to get Railo to work with a new CFC on a test page and keep getting a "Railo is not defined" in the Error Console
The Error Console highlights this section:
var _Railo_proxytest = Railo.ajaxProxy.init('/proxytest.cfc','proxytest');
Code CFC:
<cfcomponent>
<cffunction name="test1" access="remote" returntype="string" output="no">
<cfargument name="name" type="string" required="yes" default="Nameless">
<cfreturn "#areguments.name#">
</cffunction>
</cfcomponent>
Code CFM:
<cfajaxproxy cfc="proxytest" jsclassname ="proxytest">
<script>
var myProxy = new proxytest();
function runProxy() {
var name = document.getElementById("name").value;
var results = myProxy.sayHello(name);
}
</script>
<form>
<input type="text" id ="name">
<input type="button" onclick="runProxy()" value="Run">
</form>