In the HTML, it would like this: <html> <head> <title>Log In</title> <wicket:link> <link wicket:id="stylesheet"/> </wicket:link> </head> <body>
So the WicketID CSS placeholder is where you would normally put a static CSS declaration. Note the <wicket:link> around it. Second, in Java, add(new StyleSheetReference("stylesheet", SomeClass.class, "main.css")); where SomeClass.java resides in the same folder as the file (in my case "main.css"). -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/resource-problem-tp3697765p3705659.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