Fow new projects I would really consider to use html5 header: <!DOCTYPE html>
Not only it is the most up to date but it turns browsers and IE8, 9 into strict mode and IE6, 7 into almost strict mode [1]. So it gets the best out from the http clients: none of them is using quirks mode with it. [1] http://en.wikipedia.org/wiki/Quirks_mode#Comparison_of_document_types <http://en.wikipedia.org/wiki/Quirks_mode#Comparison_of_document_types> Attila 2011/5/6 John Owen <jo...@globalscape.com> > We found this issue as well, but a developer here was able to resolve it by > fixing one of our DOCTYPE declarations. He mentioned that IE9 was being put > into Quirks mode because we left out the URI of the dtd. > > This is the new DOCTYPE declaration we are using with the URI included: > > <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" " > http://www.w3.org/TR/html4/loose.dtd"> > > Regards, > John > -----Original Message----- > From: Wayne W [mailto:waynemailingli...@gmail.com] > Sent: Friday, May 06, 2011 5:43 AM > To: users@wicket.apache.org > Subject: Forms marked as multipart do not work with ajax and IE9 > > Hi, > > We have a form that you can make comments in against something. This > is submitted normally via a AjaxSubmitLink, however if you attach a > file to the form then then form is submitted in a normal non-ajax > request. > The problem I'm seeing is if a form is marked as multipart/form-data > then is submited via ajax IE9 fails with : > > Wicket.Ajax.Call.failure: Error while parsing response: Could not find > root <ajax-response> > > IE8 and 7 work fine. Doing some debugging in IE9 versus FF I see that > in handleMultipartComplete() that the envelope is of type > DispHTMLDocument instead of XMLDocument > > I'm now trying to work around the problem by removing the enctype > attribute if doing an ajax request. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >