rem: if (transport.readyState == 4) { if (transport.status == 200) { if (wicketAjaxDebugEnabled()) { var log=WicketAjaxDebug.logInfo; log("received ajax response. "+transport.responseText.length+" characters, envelope following..."); log(""); log(transport.responseText); } wicketAjaxProcess(transport.responseXML, successHandler, failureHandler); } else { if (wicketAjaxDebugEnabled()) { var log=WicketAjaxDebug.logError; log("received ajax response with code: "+transport.status); } wicketAjaxCallFailureHandler(failureHandler); } } 
add: if (transport.readyState == 4) { if (transport.status == 200) { if (wicketAjaxDebugEnabled()) { var log=WicketAjaxDebug.logInfo; log("received ajax response."+transport.responseText.length+" characters, envelope following..."); log(""); log(transport.responseText); } var responseAsText = transport.responseText; var xmldoc; if (window.XMLHttpRequest) { var parser = new DOMParser(); xmldoc = parser.parseFromString(responseAsText, "text/xml"); } else if (window.ActiveXObject) { xmldoc = transport.responseXML; } wicketAjaxProcess(xmldoc, successHandler, failureHandler); } else { if (wicketAjaxDebugEnabled()) { var log=WicketAjaxDebug.logError; log("received ajax response with code: "+transport.status); } wicketAjaxCallFailureHandler(failureHandler); } } 
context: function wicketAjaxOnStateChange(transport, successHandler, failureHandler) {    if (transport.readyState == 4) {        if (transport.status == 200) {            if (wicketAjaxDebugEnabled()) {                var log=WicketAjaxDebug.logInfo;                log("received ajax response. "+transport.responseText.length+" characters, envelope following...");                log("");                log(transport.responseText);            }            wicketAjaxProcess(transport.responseXML, successHandler, failureHandler);        } else {            if (wicketAjaxDebugEnabled()) {                var log=WicketAjaxDebug.logError;                log("received ajax response with code: "+transport.status);            }			wicketAjaxCallFailureHandler(failureHandler);		}            }}
meta: 1204	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1204/314efc958078d611a5c879cf27bb3c65a47b2605/wicket-ajax.js/clean/wicket/src/java/wicket/ajax/wicket-ajax.js