The disable-zscript Element

From Documentation
Revision as of 01:29, 5 August 2011 by Tomyeh (talk | contribs)


The disable-zscript Element


Syntax:

<disable-zscript>false|true</disable-zscript>
[Default: false (enabled)]
[since 5.0.8]

Specifies whether to disable the use of zscript (i.e., the interpreter). Once disabled, you can not embed any zscript code (such as Java and Groovy) in a ZUML page. ZK Loader will throw an exception, when parsing a ZUML page with the zscript code.

It is suggested for production system, since the performance of Java interpretation is not good and the BeanShell interpreter does not work well in the clustering environment.

<system-config>
	<disable-zscript>true</disable-zscript>
</system-config>

Version History

Last Update : 2011/08/05


Version Date Content
5.0.8 August 2011 This feature was introduced.


Last Update : 2011/08/05

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