Re: Why is my css variant not used in markup?

2011-01-25 Thread Martin Grigorov
On Tue, Jan 25, 2011 at 11:18 AM, Mike Mander wrote: > Thanks Martin. > > That would explain, why it's not working. So i will do it manually. > What do you thing - is it making sense to open an RFE? > > Please do. With quickstart application. With patch is even better. > > Mike > > -

Re: Why is my css variant not used in markup?

2011-01-25 Thread Mike Mander
Thanks Martin. That would explain, why it's not working. So i will do it manually. What do you thing - is it making sense to open an RFE? Mike - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional command

Re: Why is my css variant not used in markup?

2011-01-25 Thread Martin Grigorov
I am not sure this is supported. Only "component" resources are checked for locale/style/variation. See ContextImage, ContextPathGenerator and ContextRelativeResource classes and try to make it working but after brief look I think it wont work. On Tue, Jan 25, 2011 at 10:52 AM, Mike Mander wrote

Re: Why is my css variant not used in markup?

2011-01-25 Thread Mike Mander
Hi Mathias, it would be great if it would be that easy. But it isn't. It was my fault. The spelling i've already checked (before complaining here :-) I really look for branda (Take brenda as alias :-). And it isn't working :-( Thanks anyway Mike

Re: Why is my css variant not used in markup?

2011-01-25 Thread Matthias Gasser
Hello, First you talk of branda, then brenda. Maybe a shot in the dark, but recheck your spelling and watch out for case sensitivity. Brgds, Matthias -- iPhone Mail On 25.01.2011, at 09:02, Mike Mander wrote: > Hi all, > > i try to load a variant of my main css file (wicket 1.4.15). > > T

Re: Why is my css variant not used in markup?

2011-01-25 Thread Mike Mander
With add(CSSPackageResource.getHeaderContribution(new ResourceReference("_css/cust.css"), "screen")); i get resources/org.apache.wicket.Application/_css/cust.css But this file is not existing and layout is demaged :-(. Thanks Mike -

Re: Why is my css variant not used in markup?

2011-01-25 Thread Jeremy Thomerson
On Tue, Jan 25, 2011 at 2:02 AM, Mike Mander wrote: > Hi all, > > i try to load a variant of my main css file (wicket 1.4.15). > > The file is located in a webapp-subfolder (src/main/webapp/_css). > So i set the style of session to "branda". In the page i load the css like > this > > add(CSSPac

Why is my css variant not used in markup?

2011-01-25 Thread Mike Mander
Hi all, i try to load a variant of my main css file (wicket 1.4.15). The file is located in a webapp-subfolder (src/main/webapp/_css). So i set the style of session to "branda". In the page i load the css like this add(CSSPackageResource.getHeaderContribution("/_css/main.css", "screen"));