I've created issue for this: WICKET-2507 https://issues.apache.org/jira/browse/WICKET-2507
-- Daniel On Fri, Oct 2, 2009 at 3:17 PM, Daniel Stoch <[email protected]> wrote: > But I have tried your proposition and instead <wicket:link> in html, I > have added it in HomePage constructor: > add(CSSPackageResource.getHeaderContribution(HomePage.class, "main.css")); > > Now the link is always rendered as (correctly for me :)): > <link rel="stylesheet" type="text/css" > href="resources/com.mycompany.HomePage/main.css" /> > > Well I think both ways (using <wicket:link> or header contribution in > code) should works the same. > > -- > Daniel
