The Library Properties"

From Documentation
Line 15: Line 15:
 
<source lang="xml">
 
<source lang="xml">
 
<library-property>
 
<library-property>
        <name>org.zkoss.bind.proxy.IgnoredProxyClasses</name>
+
<name>org.zkoss.bind.proxy.IgnoredProxyClasses</name>
        <appendable>true</appendable>
+
<appendable>true</appendable>
        <list>
+
<list>
            <value>java.util.Date</value>
+
<value>java.util.Date</value>
            <value>java.sql.Date</value>
+
<value>java.sql.Date</value>
            <value>java.sql.Timestamp</value>
+
<value>java.sql.Timestamp</value>
            <value>java.math.BigDecimal</value>
+
<value>java.math.BigDecimal</value>
            <value>java.math.BigInteger</value>
+
<value>java.math.BigInteger</value>
        </list>
+
</list>
 
</library-property>
 
</library-property>
 
</source>
 
</source>

Revision as of 09:50, 23 May 2016


The Library Properties


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>org.zkoss.bind.proxy.IgnoredProxyClasses</name>
	<appendable>true</appendable>
	<list>
		<value>java.util.Date</value>
		<value>java.sql.Date</value>
		<value>java.sql.Timestamp</value>
		<value>java.math.BigDecimal</value>
		<value>java.math.BigInteger</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.


Subsections:



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


Last Update : 2016/05/23

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