You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Martin Beránek <ma...@i.cz> on 2008/01/29 11:45:54 UTC

JsCookMenu - own themes

Hi

I want to create my own theme for myfaces jscookmenu, but i don't know, where 
to start. I tried to point styleLocation/imageLocation/javascriptLocation to 
my folder - it doesn't work as i expected. When i set theme parametr 
to "ThemeOffice", embeded theme is used. When i set it to nonexisting name 
(e.g. "ThemeMy") the compoment is not rendered.

Is there any tutorial how to setup own theme?

thanks

-- 
Martin Beránek
ICZ a.s., Pobočka Brno
Londýnské náměstí 2/856, 639 00 Brno
Tel.: +420 244 100 333
Fax.: +420 244 100 344
mailto:martin.beranek@i.cz
http://www.i.cz

Re: JsCookMenu - own themes

Posted by Gerald Müllan <gm...@apache.org>.
Hi,

you can specify your own Theme via the following:

theme="ThemeOffice" styleLocation="/css/jscookmenu/"

Just create the dir /ThemeOffice under jscookmenu and place theme.css
in it (copy from default theme.css).

This should work.

cheers,

Gerald

-- 
http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces