Has it been confirmed on IE? Frank
On Sun, 2006-07-02 at 20:31 -0700, Igor Vaynberg wrote: > go for it > > -Igor > > > On 7/2/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > Can we sumbit this patch Igor? > > Eelco > > > On 6/27/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > Confirmed on OSX for: > > > > Firefox 1.5 > > Camino 1.0 > > Opera 8.5 > > Safari 2.0.3 > > > > Eelco > > > > > > On 6/27/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > > before we apply it can we have people confirm it works on > all the browsers > > > please? > > > > > > -Igor > > > > > > > > > > > > On 6/27/06, Marco Geier < [EMAIL PROTECTED]> wrote: > > > > There is an odd behaviour in Firefox. It won't parse > xml-responses after > > > > the pages document.domain has been changed to the > base-domain. > > > > > > > > eg: > > > > > > > > My page is served from "www.eyetea.de". > > > > For cross-frame-scripting reasons i do > > > > > > > > document.domain= "eyetea.de" > > > > > > > > After doing that, firefox fails with "Permission denied > to call method > > > > XMLDocument.getElementsByTagName " when processing ajax > > > responses for > > > > requests to " www.eyetea.de" > > > > > > > > My solution is the following patch to wicket-ajax.js: > > > > > > > > -------------------------------------- > > > > > > > > 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); > > > > } > > > > /** BEGIN PATCH **/ > > > > 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); > > > > > > > //wicketAjaxProcess(transport.responseXML, successHandler, > > > > failureHandler); > > > > /** END PATCH **/ > > > > } else { > > > > if (wicketAjaxDebugEnabled()) { > > > > var log=WicketAjaxDebug.logError; > > > > log("received ajax response with code: > > > "+transport.status); > > > > } > > > > > > > wicketAjaxCallFailureHandler(failureHandler); > > > > } > > > > } > > > > } > > > > -------------------------------------- > > > > > > > > Rgds, > > > > > > > > Marco > > > > > > > > Using Tomcat but need to do more? Need to support web > services, security? > > > > Get stuff done quickly with pre-integrated technology to > make your job > > > easier > > > > Download IBM WebSphere Application Server v.1.0.1 based > on Apache Geronimo > > > > > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > _______________________________________________ > > > > Wicket-develop mailing list > > > > Wicket-develop@lists.sourceforge.net > > > > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-develop > > > > > > > > > > > > > Using Tomcat but need to do more? Need to support web > services, security? > > > Get stuff done quickly with pre-integrated technology to > make your job > > > easier > > > Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > > > > > > _______________________________________________ > > > Wicket-develop mailing list > > > Wicket-develop@lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/wicket-develop > > > > > > > > > > > > > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Wicket-develop mailing list > Wicket-develop@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-develop > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Wicket-develop mailing list > Wicket-develop@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-develop Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wicket-develop mailing list Wicket-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-develop