[ 
https://issues.apache.org/jira/browse/TRINIDAD-2348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13529789#comment-13529789
 ] 

Daniel Niklas commented on TRINIDAD-2348:
-----------------------------------------

test-page:

<tr:document xmlns="http://www.w3.org/1999/xhtml";
        xmlns:ui="http://java.sun.com/jsf/facelets";
        xmlns:f="http://java.sun.com/jsf/core";
        xmlns:h="http://java.sun.com/jsf/html";
        xmlns:tr="http://myfaces.apache.org/trinidad";
        xmlns:trh="http://myfaces.apache.org/trinidad/html";
        title="test page">

        <f:facet name="metaContainer">
                <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        </f:facet>

        <tr:form>
                <tr:panelHeader text="Test-Anwendung: Meine Einstellungen" />
        </tr:form>

</tr:document>

Open this page in IE, press F12 check "document mode".
                
> HeadRenderer renders meta tags in wrong order for IE
> ----------------------------------------------------
>
>                 Key: TRINIDAD-2348
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2348
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 2.0.1-core
>            Reporter: Daniel Niklas
>            Priority: Minor
>
> Sometimes one have to put <meta http-equiv="X-UA-Compatible" content="IE=xxx" 
> /> into <head> to get a specific document mode in IE. (Details: 
> http://msdn.microsoft.com/en-us/library/jj676915%28v=vs.85%29.aspx)
> This tag *must* be rendered as *first element* (or directly after the title 
> element). This is _not_ possible, because the HeadRenderer renders 
> generator-Tag as first meta-tag. This causes the wrong document mode in IE.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to