You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sebastien Briquet (JIRA)" <ji...@apache.org> on 2015/12/17 17:19:46 UTC

[jira] [Updated] (WICKET-6052) CSS header contribution overlap

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

Sebastien Briquet updated WICKET-6052:
--------------------------------------
    Attachment: WICKET-6052.zip

Attached quickstart

> CSS header contribution overlap
> -------------------------------
>
>                 Key: WICKET-6052
>                 URL: https://issues.apache.org/jira/browse/WICKET-6052
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 7.1.0
>            Reporter: Sebastien Briquet
>         Attachments: WICKET-6052.zip
>
>
> There is an overlap of css header contribution in the following case:
> A parent panel have a CSS HC (wicket:header + <style type="text/css">), a child panel also have a CSS HC.
> If a child panel is completely newly added to the page via an ajax request, then the child CSS HC is not taken into account. I guess it is because both CSS HC share the same id...
> {code:html}
> <style type="text/css" id="com-mycompany-panel-RedBox-0">
>     .box {
>         width: 150px;
>         border: 2px solid black;
>     }
> </style>
> <style type="text/css" id="com-mycompany-panel-RedBox-0">
>     .red {
>         background-color: red;
>     }
> </style>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)