Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-2086

setOutputMarkupContainerClassName() ... and wrong render mode in IE7

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4-RC1
    • 1.4-RC3
    • wicket
    • None

    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

      Attachments

        Activity

          People

            knopp Matej Knopp
            hell Jan Loose
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: