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 cases but cause code duplications. if i
have two styles , i  have to have two html files that only differ in
some colors or fonts.
another way that i am trying to go is
using one html file and it uses classes of a style (for example style.css)
and
in webapp we have one package per theme such as this:

webapp/css/*red*/style.css
webapp/css/*blue*/style.css

now i should tell to wicket in application start up  use which of them.
thereafter css files will be called from that location.

And now my problem is in saying wicket that "Dear wicket! you should load
css files from this(/css/red) location"!!!!
i don't know how i can change default location of css files for wicket.

thanks in advanced for any idea

Reply via email to