[Xsltforms-support] XSLTForms and IE8 issues
Brought to you by:
alain-couthures
From: Sachin G. <sac...@co...> - 2011-07-11 09:04:29
|
Hi, I have been trying to get XSLTForms working with IE8, during testing I found following issues: 1). When the page is loaded, it loads config_en.xsl in Core loadProperties. (for i18). So when the ajax call is made to load this resource, it should return back the XML in the XMLHttpRequest.responseXML but it doesn't in IE. The work around was to load the responseXML from responseText as follows: if(Core.isIE) { req.responseXML.loadXML(req.responseText); } 2). All the triggers and submit controls are converted in to links and their href="javascript:void(0)". In IE it was somehow changing the state of the window, and was triggering beforeunload event. In other browsers it doesn't. So should xsltforms.xsl be changed to set the href="#"? 3). When we submit the form (PUT), the response is returned with status code 204. In IE it is converted to 1223. So we had to handle this status code in XFSubmission.prototype.submit. Otherwise submission-error was being thrown. Regards, Sachin Goyal Java Developer Corelogic Limited www.corelogic.co.uk <http://www.corelogic.co.uk> Tel: 0131 550 0445 Mobile: 07779 393 392 Email sac...@co... <mailto:sac...@co...> This document should only be read by those persons to whom it is intended, and its contents are private and confidential. If you receive this email message in error, notify the sender immediately and do not disclose, copy or distribute this message, or open any attachments Please consider the environment - do you really need to print this? |