Sebastien Briquet created WICKET-6052:
-----------------------------------------

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


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)

Reply via email to