on IE6 the ajax loaded css is not applied properly
--------------------------------------------------

                 Key: WICKET-2248
                 URL: https://issues.apache.org/jira/browse/WICKET-2248
             Project: Wicket
          Issue Type: Bug
    Affects Versions: 1.4-RC2
         Environment: IE 6
            Reporter: Zoltan Luspai


Hi,

I have a complex page where a component called WikiPageCard is not appearing at 
the first time the page is loaded, but only added later via an Ajax request. 
This WikiPageCard has its own external CSS file, which is added by this line in 
the constructor:

add(CSSPackageResource.getHeaderContribution(WikiPageCard.class, 
"WikiPageCard.css"));

The bug is that on IE6 the CSS is not getting applied when the component is 
added through an ajax request. The exactly same code works fine in IE7 and FF3. 
It even works with IE6 when I do a normal (non-ajax) request/response of the 
same page.
The only workaround I could get that I add the same CSS to the page where the 
component will appear, but it is not very nice since it breaks encapsulation.

If you require some sample code reproduces this problem I could hack one 
together.
Thanks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to