rem: var marshall = dwrMarshall(dwrExecute.arguments[i]); argdata = argdata + '&param' + (i-3) + '=' + marshall; 
add: var lookup = call.map[prop]; query += lookup.name + "=" + lookup.convert + "&"; 
context: function dwrExecute(func, classname, methodname, vararg_params){    var call = new Object();    call.callback = func    call.id = dwrGetID();    dwrCalls[call.id] = call;    if (dwrPreHook != null)    {        dwrPreHook();    }    if (func != null && typeof func != "function" && typeof func != "object")    {        alert("Supplied callback function is neither null nor a function: "+func);        return;    }    call.callback = func;    // Warning: if you can see EL-like (${...}) expressions on the next line, don't be fooled into thinking it is EL.    // Check the source in DWRServlet for the hack. Maybe we will do something more EL like in the future.    // If you can't see the ${...} then you are probably looking at the processed source    var urlbase = '${request.contextPath}${request.servletPath}/exec';    if (window.XMLHttpRequest)    {        var map = new Object;        map.classname = classname;        map.methodname = methodname;        map.id = call.id;        map.xml = true;        for (var i=3; i<dwrExecute.arguments.length; i++)        {            var marshall = dwrMarshall(dwrExecute.arguments[i]);            map["param" + (i-3)] = marshall;        }        var query = "";        for (var prop in map)        {            query += prop + "=" + map[prop] + "\n";        }        call.url = urlbase;        call.map = map;        call.req = new XMLHttpRequest();        call.req.onreadystatechange = function() { dwrStateChange(call); };        //call.req.open("GET", call.url+'&xml=true', true);        //call.req.send(null);        call.req.open("POST", urlbase, true);        alert(query);        call.req.send(query);    }    /*    The IE version appears to cache replies.    else if (window.ActiveXObject)    {        // I've seen code that asks for the following:        // call.req = new ActiveXObject("Msxml2.XMLHTTP");        call.req = new ActiveXObject("Microsoft.XMLHTTP");        if (call.req)        {            call.req.onreadystatechange = dwrStateChange;            call.req.open("GET", call.url+'&xml=true', true);            call.req.send();        }        else        {            alert("Creation of Microsoft.XMLHTTP failed. Aborting.");        }    }    */    else    {        var argdata = '';        for (var i=3; i<dwrExecute.arguments.length; i++)        {            var marshall = dwrMarshall(dwrExecute.arguments[i]);            argdata = argdata + '&param' + (i-3) + '=' + marshall;        }        var query = "class=" + classname + "&method=" + methodname + argdata + "&id=" + call.id;        call.url = urlbase + "?" + query;        call.iframe = document.createElement('iframe');        call.iframe.setAttribute('id', 'dwr-iframe');        call.iframe.setAttribute('style', 'width:0px; height:0px; border:0px;');        call.iframe.setAttribute('src', call.url);        document.body.appendChild(call.iframe);    }}
meta: 266	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/7547063298291f41840aee0b03582a3f6bc04cd6/engine.js/clean/java/uk/ltd/getahead/dwr/engine.js