HeaderContributor is the answer.

add( CSSPackageResource.getHeaderContribution( "css/" + style.getName() +
"/promo.css" ) );

The javadocs explicitly state that a css location that does not begin will a
leading / (slash) will be have it's relative path prepended to it.
http://wicket.apache.org/docs/1.4/org/apache/wicket/markup/html/CSSPackageResource.html

Thank you for the help!

--pete

Reply via email to