From Documentation

Jump to: navigation, search

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


System Scope

If you define a library property as a system property within the configuration file of your web server, though the system property affects the whole system, not just one web application.

Application Scope

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

Single value


Multiple values


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.