-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Wow!
Fantastic!
Finally, a long awaited theme customization is available!
Great, fantastic job!
I'm using Windows and it is not working for me. The error is:
org.zkoss.zk.ui.UiException: Unable to load zkthemer.ThemeProvider, at [SYS jndi:/localhost/test/WEB-INF/zk.xml line 8 col 18].
If I copy the file zkthemer.jar in classpath, the error does'n appear, but the CSS file can't be found by the webpage:
<link rel="stylesheet" type="text/css" href="/test/zkau/web/lila/zul/css/normmoz.css.dsp"/>
Hi Mauricio!
Your problem is either lila.jar is not in your classpath or it is not correctly generated. Check it is around 190K. The class zkthemer.ThemeProvider is indeed in zkthemer.jar, but it is copied to the generated jar, in this case 'lila.jar'.
So adding zkthemer.jar to your classpath (something that is not necessary) makes the class zkthemer.ThemeProvider available, but the rest of resources (*.css.dsp, *.png, *.gif) that are in 'lila.jar' are not available and so the CSS can't be found.
I also had the problem where the zk could not find the ThemeProvider class from the jar.
Implementing my own ThemeProvider (just a copy and paste), and adjusting the zk.xml to point to my implementation class make the theme work as expected.
Hi!
This is an interested tool.
I followed all the steps by it doesn't work for me. I have the lila.jar, zkthemer.jar in my WEB-INF/lib and i don't have any errors. The lila.jar size is 400kb.
How can i debug it?
thank's
After some troubles I've found that under Windows the jar file is not correctly generated.
The only way I've found to have it work is:
- unzip the generated jar file
- zip it again
After this it works for me
If I use the tool on Linux it works without problems.