0

Adapting a JAR to my project?

asked 2013-12-21 00:47:23 +0800

IsaacBaldeon gravatar image IsaacBaldeon
13 1

Hello, I've just created a JAR with the Theme Roller for ZK, and I'm having some hard time making it work. My project, which it was also downloaded from http://www.zkoss.org/zkdemo/customize_theme it's not using the properties created within the JAR file. I heard a colleague telling me that it's beacuse I haven't declared this JAR file in the web.xml file. I need some help in order to solve this problem. Any idea you can provide will be appreciated.

delete flag offensive retag edit

Comments

Did the setting in the final step of this blog works?

RaymondChao ( 2013-12-23 01:49:35 +0800 )edit

Yes, it was useful, but now I'm having troubles with another thing: since the Ace Admin Board theme uses bootstrap JARs and libraries, my new JAR files are totally useless when I try to merge them with the Ace Admin Board. Nevertheless, thanks for your help, it was quite useful. If you can suggest m

IsaacBaldeon ( 2014-01-11 01:54:20 +0800 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-03-08 20:27:11 +0800

Darksu gravatar image Darksu
1991 1 4

Hello IsaacBaldeon,

You have to place the theme jar under WEB-INF/lib and modify zk.xml as follows

<library-property>
    <name>org.zkoss.theme.preferred</name>
    <value>atlantic</value>
</library-property>

Best Regards,

Darksu

link publish delete flag offensive edit
Your answer
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
1 follower

RSS

Stats

Asked: 2013-12-21 00:47:23 +0800

Seen: 28 times

Last updated: Mar 08 '15

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