From Documentation

Jump to: navigation, search

Here is a list of supported library properties that ZK recognizes.


System Scope

To define a library property, you can configure it in WEB-INF/zk.xml[1]. For example,




Alternatively, you can define it as a system property with the configuration file of your Web server, though the system property affects the whole system, not just one Web application.

Custom Attributes

You also can configure some properties with <custom-attributes> in a zul. Notice that not all properties support this, please check each property's page.

Page scope

Put it out of any component

<custom-attributes org.zkoss.zul.listbox.rod="false"/>

<listbox id="box1">

<listbox id="box2">

Component Scope

Put it under a specific component:

    <custom-attributes org.zkoss.zul.listbox.rod="false"/>


  1. For more information, please refer to the library-property element.

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.