The disable-zscript Element"
From Documentation
m |
m |
||
Line 9: | Line 9: | ||
Specifies whether to disable the use of [[ZUML_Reference/ZUML/Elements/zscript|zscript]] (i.e., the interpreter). Once disabled, you could not embed any Java code in a ZUML page. | Specifies whether to disable the use of [[ZUML_Reference/ZUML/Elements/zscript|zscript]] (i.e., the interpreter). Once disabled, you could not embed any Java code in a ZUML page. | ||
− | It is suggested for production system, since [[ZK Developer's Reference/Performance Tips/Use Compiled Java Codes|the performance of Java interpretation is not good]] and the BeanShell interpreter does not work well in | + | It is suggested for production system, since [[ZK Developer's Reference/Performance Tips/Use Compiled Java Codes|the performance of Java interpretation is not good]] and the BeanShell interpreter does not work well in the clustering environment. |
<source lang="xml"> | <source lang="xml"> |
Revision as of 09:37, 4 August 2011
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 could not embed any Java code in a ZUML page.
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
Version | Date | Content |
---|---|---|
5.0.8 | August 2011 | This feature was introduced. |