A quick solution, in case anyone's interested:

1) In your HTML: replace your stylesheet reference as below.

<wicket:link>
    <link wicket:id="stylesheet"/>
</wicket:link>

2) In your Java:

add(new StyleSheetReference("stylesheet", SomeClass.class, "file.css"));

3) The .CSS file and the SomeClass.java must be in the same folder. Replace
with any class which resides in the same folder as the .CSS file.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/resource-problem-tp3697765p3700056.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to