[ 
https://issues.apache.org/jira/browse/WICKET-4894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Grigorov resolved WICKET-4894.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.10
                   6.4.0
         Assignee: Martin Grigorov

The log warning + updates to the javadoc has been added for 1.5.10 and 6.4.0.
                
> Internet Explorer fails fails to properly include conditional stylesheet 
> links added via AjaxRequestTarget
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-4894
>                 URL: https://issues.apache.org/jira/browse/WICKET-4894
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.4
>            Reporter: Jonas Pohlandt
>            Assignee: Martin Grigorov
>            Priority: Minor
>             Fix For: 6.4.0, 1.5.10
>
>         Attachments: HeaderResponse.java.diff, quickstart.zip
>
>
> CSS references added like this
>   @Override
>   public void renderHead( IHeaderResponse response ) {
>     super.renderHead( response );
>     response.renderCSSReference( 
>         new PackageResourceReference( getClass(), "TestLabel.css" ));
>     response.renderCSSReference( 
>         new PackageResourceReference( getClass(), "TestLabel-conditional.css" 
> ), null, null, "gte IE 8" );
>   }
> will not be taken into account by Internet Explorer (tested with 8 and 9) at 
> when rendering the document.
> I stepped though wicket-ajax.js and saw that the function added in 
> Wicket.Head.Contributor.processComment will actually be executed and a new 
> child node will be appended to the head node of the document. Unfortunately 
> it seems IE disregards conditional comments added in this way.
> I encountered this using Wicket 1.5.4.
> I'll upload a quickstart.

--
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