The Library Properties"
From Documentation
Line 10: | Line 10: | ||
<name>org.zkoss.zul.Button.mold</name> | <name>org.zkoss.zul.Button.mold</name> | ||
<value>trendy</value> | <value>trendy</value> | ||
+ | </library-property> | ||
+ | </source> | ||
+ | or | ||
+ | <source lang="xml"> | ||
+ | <library-property> | ||
+ | <name>any name</name> | ||
+ | <appendable>true</appendable> | ||
+ | <list> | ||
+ | <value>any value 1</value> | ||
+ | <value>any value 2</value> | ||
+ | </list> | ||
</library-property> | </library-property> | ||
</source> | </source> |
Revision as of 09:49, 23 May 2016
Here is a list of supported library properties that ZK recognizes.
To define a library property, you can configure it in WEB-INF/zk.xml
[1]. For example,
<library-property>
<name>org.zkoss.zul.Button.mold</name>
<value>trendy</value>
</library-property>
or
<library-property>
<name>any name</name>
<appendable>true</appendable>
<list>
<value>any value 1</value>
<value>any value 2</value>
</list>
</library-property>
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.
- ↑ For more information, please refer to the library-property element.