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

Johan Compagner commented on WICKET-2248:
-----------------------------------------

are you sure you just dont hit the 30 css entry limit in IE?

Because if you do it in the main page itself then you say it works. But are 
there then css added after that?

for example if you load it by ajax can you test what the value of this is:

document.styleSheets.length

> 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