Customizing ZK Framework Library Settings
ZK Framework technology is used to build up Backoffice Framework components. Backoffice Framework provides you with a mechanism to change the default settings of ZK Library in your project.
To customize the values of ZK Library properties, define them in the backoffice/project.properties, or backoffice/local.properties. Use the following format convention for key-value pair:
backoffice.zk.lib.setting.property.name=property.value
The prefix backoffice.zk.lib.setting. looks up all relevant settings in ZK library, but the system omits it when setting the actual value.
See the example:
To set value for the ZK property org.zkoss.lang.Classes.methods.cache.maxSize, the following format is used in the project.properties:
backoffice.zk.lib.setting.org.zkoss.lang.Classes.methods.cache.maxSize=5000
The system sets the value before ZK executes any internal logic, therefore the changes are effective even during ZK initialization. This behavior is significant for the performance-related tuning of the framework.
