Re: Css and path issues

2008-06-04 Thread Manuel Corrales
Hi, i fixed this issue yesterday thanks to the help on the irc channel. My issue was the way i was defining the css, i was using add(new StyleSheetReference("pageCSS", *getClass()*, "styles/fenix.css")); and the getClass() part was the problem. I change that for nameOfTheClass.class and then the

Re: Css and path issues

2008-06-03 Thread Igor Vaynberg
you can use something like add(new HeaderContributor.forCss(pageA.class, "filename")) on pageA and it should work from anywhere. -igor On Tue, Jun 3, 2008 at 8:26 AM, Manuel Corrales <[EMAIL PROTECTED]> wrote: > Hi, i am starting new wicket application, my first one. I think this is an > awesome

Css and path issues

2008-06-03 Thread Manuel Corrales
Hi, i am starting new wicket application, my first one. I think this is an awesome framework!! I am having this issue, i have a css file and i am including it on a pageA, then i have another pageB (subclass of pageA) that is on another package. When i navigate to pageB, i have no stlyes because it