I'm programming in Zk, I would like to take a Bootstrap template and turn it into a ZK Views.
I'm programming in Zk, I would like to take a Bootstrap template and turn it into a ZK Views.
According to the documentation you can download the jar file from Github or put dependency on pom.xml.
If you download Github, you should put the zk-bootstrap.jar
file inside the WEB-INF/lib
folder of your project.
Then you add the following setting to zk.xml
<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>
Maven dependency:
<dependency>
<groupId>org.zkoss.addons</groupId>
<artifactId>zk-bootstrap</artifactId>
<version>1.0.0</version>
</dependency>
Getting Started by ZK with Bootstrap