Thanks Martin.

I shall try

  CssResourceReference rrefCSS = new CssResourceReference(
   ResourcesLocator.class, "style.css");
  ResourceLink<CssResourceReference> rlnkCSS =
   new ResourceLink<CssResourceReference>("stylesheet", rrefCSS);
  add(rlnkCSS);

in order to keep my HTML mark-up unchanged. If this does not work, I shall
look into overriding my page's renderHead(...) method (and removing the
relevant part of my HTML mark-up?) as shown in the /Migration guide/.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Successor-to-StyleSheetReference-in-1-5-tp3812796p3812963.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