Re: resource (css) loading

2010-04-10 Thread sahar rostami
- 1)); > } >} >return located; >} >return super.locate(clazz, path); >} > >private String trimFolders(final String path, final boolean > isGlobalPath) { >return isGlobalPath? path.substring(GLO

Re: resource (css) loading

2010-04-10 Thread sahar rostami
getHeaderResponse().renderCSSReference(cssResourceReference); >> } >>} >> >> And then let each of your pages be a child of MyCustomersPage >> >> Stefan >> -Ursprüngliche Nachricht- >> Von: sahar rostami [mailto:sahar.rost..

Re: resource (css) loading

2010-04-07 Thread sahar rostami
of the file style.css (i.e you can write > "/stylesheets/style.css ...) > > 2010/4/7 sahar rostami > > > No , i want to know how wicket knows where is style.css? > > > > On Wed, Apr 7, 2010 at 8:24 PM, moèz ben rhouma < > benrhouma.m...@gmail.com > >

Implementing theme in wicket

2010-04-07 Thread sahar rostami
Hi all, we have a web application that used for some company and each of them needs own favorite style (colors, fonts,etc.). we found out that a way is setting style to session and then adding "_styleName" at the end of html file names(such as resource bundles). this method is suitable in some use

Re: resource (css) loading

2010-04-07 Thread sahar rostami
;)); > > and in the html page you add: > > > 2010/4/7 sahar rostami > > > Thanks MZemeck > > But my question in another form is "Where wicket load css (which class)?" > > how wicket knows where look up a css file? > > > > i'm trying to o

Re: resource (css) loading

2010-04-07 Thread sahar rostami
7;t know how wicket loads them. any idea would help me! thanks On Wed, Apr 7, 2010 at 7:50 PM, wrote: > One difference I am aware of (and community correct me if I am wrong), > Wicket GZIPs resources. So if you directly link to the css using an > "href" you will not have th

resource (css) loading

2010-04-07 Thread sahar rostami
Hi all, I want to know how wicket loads css files from location specified in HeaderContributer or using "href" in header? Thanks in advanced!