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-08-07 07:16:48 +0800

anonymous gravatar image anonymous
1

"$ java -jar zkthemer.jar"
I run this but it says "

Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file

"

what's up?

link publish delete flag offensive edit

answered 2009-08-07 07:17:31 +0800

anonymous gravatar image anonymous
1

My JDK version is 1.5.0_11

link publish delete flag offensive edit

answered 2009-08-07 07:56:29 +0800

anonymous gravatar image anonymous
1

I followed luis bertel ,
but there's nothing but my text ...
all CSS and components disappeare ...
help me ,I really like the themer!

link publish delete flag offensive edit

answered 2009-08-10 19:09:04 +0800

anonymous gravatar image anonymous
1

Hi,

I tried to use ZKThemer on Mac OS X (10.5.7) and Java 6 (1.6.0_13), but I had some problem.

indiglo-2:lib rogerio$ java -jar zkthemer.jar -c 3e48ac -z . -t lila

Exception in thread "main" java.lang.NullPointerException
at zkthemer.ProcessImage.run(ProcessImage.java:37)
at zkthemer.CreateTheme.processJarFile(CreateTheme.java:60)
at zkthemer.CreateTheme.processDir(CreateTheme.java:40)
at zkthemer.CreateTheme.run(CreateTheme.java:134)
at zkthemer.CreateTheme.main(CreateTheme.java:170)

Note: The zkthemer.jar is on my lib folder. There has ZK's JARs.

Thank you!

link publish delete flag offensive edit

answered 2009-08-22 01:22:48 +0800

anonymous gravatar image anonymous
1

Hi to all
I create lila.jar and add zk configuration code but when i run it i take this error please help me.!
org.zkoss.zk.ui.metainfo.DefinitionNotFoundException: Language not found for extension zul


Have nice time

link publish delete flag offensive edit

answered 2009-08-25 06:15:42 +0800

anonymous gravatar image anonymous
1

@Joe I have the same problem... I followed Luis Bertel but the components appear out of order.

The jar size 400kb and generated in Windows.

Help me please,
Thank You!!

link publish delete flag offensive edit

answered 2009-09-12 03:27:39 +0800

anonymous gravatar image anonymous
1

Re-jarring the file (and letting it generate a manifest), plus adding zkthemer.properties to the classpath of my webapp worked for me on Windows.

I took a look at the source code and I think you can create an empty manifest by changing line 111 of CreateTheme.java to:

JarOutputStream out = new JarOutputStream(stream, new Manifest());

--Scott

link publish delete flag offensive edit

answered 2009-10-04 10:57:16 +0800

anonymous gravatar image anonymous
1

say something.
take zkthemer.jar and lila.jar in lib,unzip lila.jar in src,eclispe+tomcat can workking.

link publish delete flag offensive edit

answered 2009-10-06 20:33:08 +0800

anonymous gravatar image anonymous
1

Does anyone have the updated ZK Themer for ZK 5.0?

I'm using a theme generated in 3.6.2 but some components like bandboxes are not working

Thanks

link publish delete flag offensive edit

answered 2009-10-22 00:45:13 +0800

anonymous gravatar image anonymous
1

The tool is great. Thank you for zkthemer and this provided smalltalk. Here are some tips for getting the tool working on Windows (a summary of the above posts).

1) run the tool, generating your jar file
2) verify the jarfile is around 290kb. If the jar file is too small, most likely, the folder you specified with -z does not contain your zk libs. No error occurs in such a case, but the generated jar file is only 80kb in size. If at this point, you run the tool with the 80kb jar file, you will see your application with no images at all, only text.
3) unjar the jar file (e.g. jar xvf <jarname>)
4) rejar the jar file (this fixes the missing manifest problem) (e.g. jar cvf <jarname> *)
5) copy the newly jarred jar file to your web application's lib folder
6) update zk.xml as specified above
7) start tomcat and run your application

At this point, it should all work.

* You do not need zkthemer.jar in your classpath.
* If you get an Unable to load zkthemer.ThemeProvider error, be sure that you unjarred and rejarred your generated jar file.
* Verify your generated jar file size

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