40414243444546
// Add the simplest type of label add(new Label("message", "If you see this message wicket is properly configured and running")); add(new CssHeaderContributor(HomePage_2.class, "main.css")); }
30313233343536
* Creates a new instance of MyPage */ public MyPage2() { // And it is not problem if historically it has been added. Wicket will render it just once add(new CssHeaderContributor(this.getClass(), this.getClass().getSimpleName() + ".css")); }