Description
Hi,
I tried to use setOutputMarkupContainerClassName() and this decorator creates the comment before <!DOCTYPE/> and before tag <html/>.
This is problem because IE7 (may be IE6 too) recognize the document wrong (wrong render mode).
Quirks mode in IE 7 can also be triggered when coding HTML 4.01 documents. Inserting a comment before the DTD will trigger this backwards compatible mode in both IE 6 and IE 7.
—
<!-- Page Class com.cleverlance.vodafone.m2w.portal.web.core.HomePage -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wicket="http://wicket.sourceforge.net/" xml:lang="cs" wicket:id="html" wicketpath="html">
—
Thx for fixing