See "Including CSS resources" at: https://cwiki.apache.org/WICKET/including-css-resources.html
This is also covered by all of the books on Wicket: http://wicket.apache.org/learn/books/ You should invest into such a Book. Personally I suggest "Wicket in Action" since its authors are Wicket developers and you see their names in many of the replies on those mailing lists :) http://wicket.apache.org/learn/books/wia.html ~ Thank you, Paul Bors -----Original Message----- From: ronny.v...@consult.nordea.com [mailto:ronny.v...@consult.nordea.com] Sent: Wednesday, August 29, 2012 1:31 PM To: users@wicket.apache.org Subject: RE: Css for panel Hi Actually I am pretty new with Wicket, but I give it a shot... :-) @Override public void renderHead(IHeaderResponse response) { super.renderHead(response); response.renderCSSReference(YOUR_CSS_REF); } private static final ResourceReference YOUR_CSS_REF = new PackageResourceReference(... -----Original Message----- From: Mansour Al Akeel [mailto:mansour.alak...@gmail.com] Sent: 29 August 2012 19:20 To: users Subject: Css for panel I have a component that extends panel. I need to add css customization to this panel. I can include the css in the over all site CSS, but I like to separate the CSS for this panel. For example, MyPanel.java MyPanel.html MyPanel.css I like to have MyPanel.css included in the header of the html when ever MyPanel is used. How do I do this with wicket 6.0 ?? Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org