wicket-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David vandendriessche (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (WICKET-4894) Internet Explorer fails fails to properly include conditional stylesheet links added via AjaxRequestTarget
Date Wed, 16 Jan 2013 13:06:12 GMT

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

David vandendriessche edited comment on WICKET-4894 at 1/16/13 1:04 PM:
------------------------------------------------------------------------

The log warning always appears even if you use Chrome. Is there a way to change this? Or add
it to a higher loglevel since it only gives info. There's also no info about the warning in
6.x.x docs  http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wicket/markup/head/IHeaderResponse.html
                
      was (Author: davidvdd):
    The log warning always appears even if you use Chrome. Is there a way to change this?
Or add it to a higher loglevel since it only gives info.
                  
> 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

Mime
View raw message