This content has been marked as final.
Show 2 replies
-
1. Re: Doctype unset after ajax redirect
jguglielmin Dec 3, 2010 11:16 AM (in response to sjete)try using the
<ice:outputDeclaration>
tag (put it on your facelet template and then you never have to worry about your document declarations) If still having problems, you might want to try the ICEfaces forum at http://www.icefaces.org/JForum/forums/list.page
-
2. Re: Doctype unset after ajax redirect
sjete Dec 6, 2010 10:49 AM (in response to sjete)Thanks, judy, for your reply.
Sadly, your first idea did not work out. Nevertheless, searching through the icefaces forum I stumbled upon two threads focussing on the same issue:
http://www.icefaces.org/JForum/posts/list/15782.page
http://www.icefaces.org/JForum/posts/list/722.pageAs both suggestions to fix the problem did not work for me I implemented a custom HttpServletResponseWrapper, called via an HttpServletFilter configured in the web.xml, that prepends the doctype declaration if needed.