Additional CSS HeaderItems in Wicket/WiQuery 6?

2013-01-22 Thread Stefan Renz
Hi, how would I specify to load an additional stylesheet when Wicket loads the WiQueryCoreThemeResourceReference? Background: I'd like to tweak some of the jquery-ui styles by providing a custom CSS. I want to make sure that whenever wiquery's core resource loads, the additional CSS loads as

Re: Additional CSS HeaderItems in Wicket/WiQuery 6?

2013-01-22 Thread Martin Grigorov
Hi, With the bundle - register a bundle that contains WiQueryCoreThemeResourceReference and your Css reference for the custom Css resource. With the replacement - create class MyCssResRef extends CssResourceReference { public MyCssResRef() { super(MyCssResRef.class, my.css) } @Override

Re: Additional CSS HeaderItems in Wicket/WiQuery 6?

2013-01-22 Thread Stefan Renz
Hi Martin, thanks for the quick response. Martin Grigorov wrote: Hi, With the bundle - register a bundle that contains WiQueryCoreThemeResourceReference and your Css reference for the custom Css resource. Tried that, only one of the CSS loads, but I'll double check. With the

Re: Additional CSS HeaderItems in Wicket/WiQuery 6?

2013-01-22 Thread Ernesto Reinaldo Barreiro
IMHO it would be simpler for users to restore IThemableApplication and plug it at CoreUIJavaScriptResourceReference#getDependencies() On Tue, Jan 22, 2013 at 4:23 PM, Martin Grigorov mgrigo...@apache.orgwrote: Hi, With the bundle - register a bundle that contains

Re: Additional CSS HeaderItems in Wicket/WiQuery 6?

2013-01-22 Thread Stefan Renz
Hi, so after double checking and a bit of trial and error, I got it to work. Somewhere in the documentation I read if in doubt, try the easy path. Keep it simple, stupid :-) Here it goes: CustomResourceReference extends TextTemplateResourceReference, which is interpolates ${}-variables in the