0

12:/basicconcepts/zkthemer/index.dsp

asked 2009-07-03 06:26:48 +0800

anonymous gravatar image anonymous
1

Wow!
Fantastic!

Finally, a long awaited theme customization is available!

Great, fantastic job!

delete flag offensive retag edit

63 Replies

Sort by ยป oldest newest

answered 2009-07-03 18:14:04 +0800

anonymous gravatar image anonymous
1

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"/>

link publish delete flag offensive edit

answered 2009-07-03 19:18:39 +0800

anonymous gravatar image anonymous
1

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.

link publish delete flag offensive edit

answered 2009-07-03 19:44:45 +0800

anonymous gravatar image anonymous
1

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.

link publish delete flag offensive edit

answered 2009-07-04 05:45:51 +0800

anonymous gravatar image anonymous
1

hai,

i am happy to hear this smalltalk. i will wait with english version and i hope this tool will be added to zkStudio.

Regards,

Andy Susanto

link publish delete flag offensive edit

answered 2009-07-04 07:22:02 +0800

anonymous gravatar image anonymous
1

This is great tool.

@Andy Susanto +1 to be supported in ZK Studio

Regards,

link publish delete flag offensive edit

answered 2009-07-04 09:16:53 +0800

anonymous gravatar image anonymous
1

please i have tried the themer tool but am having the same problem as others.

link publish delete flag offensive edit

answered 2009-07-04 11:47:48 +0800

anonymous gravatar image anonymous
1

>>> @Andy Susanto +1 to be supported in ZK Studio

I second that suggestion !

Greetings
bernd

link publish delete flag offensive edit

answered 2009-07-04 19:17:53 +0800

anonymous gravatar image anonymous
1

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

link publish delete flag offensive edit

answered 2009-07-05 12:17:33 +0800

anonymous gravatar image anonymous
1

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.

link publish delete flag offensive edit

answered 2009-07-06 00:08:37 +0800

anonymous gravatar image anonymous
1

Perfect!

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2009-07-03 06:26:48 +0800

Seen: 71 times

Last updated: Feb 25 '11

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More