Description
I'm trying to upgrade from 1.4.13 to 1.4.14 and found that css and js files added as header contribution are not appearing in the ajax request.
Details are:
*I have a WikiPageCard (Panel subclass) class which adds two header contributions like this:
this.add(CSSPackageResource.getHeaderContribution(WikiPageCard.class, "WikiPageCard.css"));
this.add(JavascriptPackageResource.getHeaderContribution(WikiPageCard.class, "WikiPageCard.js"));
The first instance of this WikiPageCard component is only added to the page in an ajax request, so the css/js files are not part of the page during the initial load. I had a look at the Wicket's ajax debug window, and I can see that indeed these lines are missing from the ajax response with Wicket 1.4.14, but they are present in 1.4.13:
{{{
<link rel="stylesheet" type="text/css" href="../resources/com.intland.codebeamer.wicket.pages.wikiexporttopdf.WikiPageCard/WikiPageCard.css?w:lm=1289895391" />
< <script type="text/javascript" src="../resources/com.intland.codebeamer.wicket.pages.wikiexporttopdf.WikiPageCard/WikiPageCard.js?w:lm=1289895391"></script>
}}}
Is this a regression, or just some change I'm missing?