Re: [1.5] [6.0] dynamically named CSS, JS images resources

2012-07-20 Thread Sébastien Gautrin
Hi, In your case, the general idea would be to create a ResourceReference to your downloaded css js files, and then on your base page to contribute them dynamically with @Override public void renderHead(IHeaderResponse response) { ResourceReference jsRef = [...]

Re: [1.5] [6.0] dynamically named CSS, JS images resources

2012-07-20 Thread Pierre Goupil
Thanks guys! I think that Sébastien's 3) will do it. I'll test it and tell you more. Regards, Pierre On Fri, Jul 20, 2012 at 10:18 AM, Sébastien Gautrin sgaut...@telemetris.com wrote: Hi, In your case, the general idea would be to create a ResourceReference to your downloaded css js

RE: [1.5] [6.0] dynamically named CSS, JS images resources

2012-07-19 Thread Paul Bors
Have you tried turning the link tag into a dynamic WebMarkupContainer and then switching its href attribute's value via an AttributeModifier? HTML: html wicket:id=htmlTag head link wicket:id=cssHeadLink rel=stylesheet type=text/css href=css/default-styles.css /head body