You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Pedro Santos (JIRA)" <ji...@apache.org> on 2011/04/26 20:05:03 UTC

[jira] [Commented] (WICKET-3605) Ajax header-contribution omits IE conditional comments

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

Pedro Santos commented on WICKET-3605:
--------------------------------------

Hi Russell, I just tried to manually add a comment element in the page header element using JavaScript and IE is reporting a error in console: "there are no support for this interface". You can change the ConditionalHeaderContributor to contribute a resource only if the browser matches. e.g using WebClientInfo

> Ajax header-contribution omits IE conditional comments
> ------------------------------------------------------
>
>                 Key: WICKET-3605
>                 URL: https://issues.apache.org/jira/browse/WICKET-3605
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-core, wicket-extensions
>    Affects Versions: 1.4.16, 1.4.17
>            Reporter: Russell Morrisey
>              Labels: ajax, conditional-comment, css, header-contribution, ie, stylesheet
>         Attachments: quickstart-browsercss.zip
>
>
> We have a header contributor which writes an IE conditional comment to the header response for an IE-specific stylesheet.
> When the page is initially loaded, components on the page render with the IE conditional comment, and are displayed correctly.
> If a component is added by an ajax request, the header contributor renders the conditional comment to the ajax response, but the conditional comment is omitted from the page output.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira