0

Problem with the change of style

asked 2010-04-29 15:13:44 +0800

elamarti gravatar image elamarti
33

hello

I am still new to ZK, and I work for an application for payment of invoice. knowing that my company insists that the colors
the application should be like the colors of the logo, I would like
know how I could change the template style of zk?

Regards

delete flag offensive retag edit

5 Replies

Sort by ยป oldest newest

answered 2010-04-29 20:04:03 +0800

SimonPai gravatar image SimonPai
1696 1

Hi elamarti,

I think the best practice of this is ZKThemer.
Note that ZKThemer is under LGPL license.

If you want to control component style in details, you can read Style Guide.

Regards,
Simon

link publish delete flag offensive edit

answered 2010-04-30 05:34:43 +0800

elamarti gravatar image elamarti
33

Hi SimonPai,

thank you for your reply. The documentation says that you gave me only configuration under linux.sachant I work on Windows using Eclipse, I want to know is there any other documentation for eclipse?

Regards

link publish delete flag offensive edit

answered 2010-04-30 18:40:11 +0800

elamarti gravatar image elamarti
33

Hey,

I did exactly the same as the documentation says but when I
added the jar file generated in my project eclipse I noticed that the style
is not changed. In your opinion where does the problem?

Cordially

link publish delete flag offensive edit

answered 2010-05-01 10:16:08 +0800

SimonPai gravatar image SimonPai
1696 1

Here are some methods to locate your problems:

1. Make sure you modified your zk.xml to add

<desktop-config>
	<theme-provider-class>zkthemer.ThemeProvider</theme-provider-class>
</desktop-config>

2. Extract the jar generated by ZKThemer. Open some image files and check the colors.

3. view the page source of your webpage. If ZKThemer is wired up correctly, you should see two <style> tag rather than one.

Regards,
Simon

link publish delete flag offensive edit

answered 2010-05-02 07:42:18 +0800

elamarti gravatar image elamarti
33

thanks a lot for your help Simon

Regards,
elamarti

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: 2010-04-29 15:13:44 +0800

Seen: 486 times

Last updated: May 02 '10

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