webtier@glassfish.java.net

Inserting a <!-- comment --> before doctype in generated facelets .xhtml file?

From: Alex Sherwin <alex.sherwin_at_acadiasoft.com>
Date: Mon, 13 Oct 2008 18:05:31 -0400

Running out places to look for an answer, maybe someone here has an idea.

I need to put a <!-- comment --> in the rendered document before the doctype
string for IE quirks mode. I HAVE to do this to resolve an IE CSS issue
with overflow and divs and 100% widths.

I'm using icefaces, but im open to a generic jsf/facelets solution that may
work. I can't think of any way to accomplish this since the rendered
document is completely generated serverside, which is ignoring all comments
in the document.

Any ideas/suggestions are greatly appreciated


Alex Sherwin
alex.sherwin_at_acadiasoft.com