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

Asked

Viewed 99 times

0

I am programming in Zk, I would like to take a Bootstrap template and turn to a ZK Views.

1 answer

1


According to the documentation you can download the jar file from Github or put the dependency on pom.xml. If you download from Github, you should put the file zk-bootstrap.jar inside the briefcase WEB-INF/lib of your project.

Then you add the following setting in 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>

Dependency Maven:

<dependency>
   <groupId>org.zkoss.addons</groupId>
   <artifactId>zk-bootstrap</artifactId>
   <version>1.0.0</version>
</dependency>

Getting Started of the ZK with Bootstrap

Browser other questions tagged

You are not signed in. Login or sign up in order to post.