How can I turn a bootstrap template (html, css, javasript) into .Zul (Views of Zk framework) [closed]

0

I'm programming in Zk, I would like to take a Bootstrap template and turn it into a ZK Views.

    
asked by anonymous 06.04.2016 / 11:03

1 answer

1

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

    
06.04.2016 / 14:46