zkidempiere

How to add ZK theme into iDempiere?


I'm researching how to using iDempiere fw. I tried using ZK theme into iDempiere fw by link here.

First time, I put the zk-bootstrap.jar file under WEB-INF/lib folder in org.adempiere.ui.zk project.

In zk.xml file, I insert lines of code:

<library-property>
    <name>org.zkoss.zul.Button.mold</name>
    <value>bs</value>
</library-property>
<library-property>
    <name>org.zkoss.zul.Menupopup.mold</name>
    <value>bs</value>
</library-property>
<library-property>
    <name>org.zkoss.zkmax.zul.Navbar.mold</name>
    <value>bs</value>
</library-property>
<library-property>
    <name>org.zkoss.zul.Paging.mold</name>
    <value>bs</value>
</library-property>
<library-property>
    <name>org.zkoss.zul.Panel.mold</name>
    <value>bs</value>
</library-property>

And I run iDempiere fw again. But it doesn't work. It only display this screen:

iDempiere screen.

Please help!


Solution

  • There is a published way to add ZK Theme as another plugin into the project. You can refer to its online documentation here http://wiki.idempiere.org/en/Add_your_theme