[
https://issues.apache.org/jira/browse/WICKET-3927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jannis Bloemendal updated WICKET-3927:
--------------------------------------
Attachment: WICKET-3927.patch
The patch gives a possible solution for the improvement and is created against
the tagged version wicket 1.4.17
> Wait for CSS head contributions to be rendered before processing other
> contributions
> ------------------------------------------------------------------------------------
>
> Key: WICKET-3927
> URL: https://issues.apache.org/jira/browse/WICKET-3927
> Project: Wicket
> Issue Type: Improvement
> Components: wicket-core
> Affects Versions: 1.4.17, 1.5-RC5.1
> Environment: I tested Firefox 4, IE 7, 8, 9 and Chromium 12.0.742.112
> Reporter: Jannis Bloemendal
> Attachments: WICKET-3927-quickstart.tar.gz, WICKET-3927.patch
>
>
> When css head contributions are added by an ajax response, executed /
> contributed javascript can not rely on the css to be rendered. This can for
> example be a problem for a javascript layout manager which gets triggered
> with the ajax response.
> It is more a short-come of current browsers, but can be worked around for
> example by the method described in the blog post:
> "CSSP: Loading CSS with Javascript - and getting an onload callback."
> http://otaqui.com/blog/890/cssp-loading-css-with-javascript-and-getting-an-onload-callback/
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira