org.zkoss.zk.ui.composer.autowire.zscript"
From Documentation
m (Created page with "{{ZKConfigurationReferencePageHeader}} =Version History= {{LastUpdated}} {| border='1px' | width="100%" ! Version !! Date !! Content |- | | | |} {{ZKConfig...") |
m |
||
Line 1: | Line 1: | ||
{{ZKConfigurationReferencePageHeader}} | {{ZKConfigurationReferencePageHeader}} | ||
+ | |||
+ | '''Property:''' | ||
+ | org.zkoss.zk.ui.composer.autowire.zscript | ||
+ | |||
+ | Default: <tt>true</tt> (it is default to <tt>false</tt> in 6.0) | ||
+ | [since 5.0.6] | ||
+ | |||
+ | It specifies whether <javadoc>org.zkoss.zk.ui.util.GenericAutowireComposer</javadoc> (and <javadoc>org.zkoss.zk.ui.util.GenericForwardComposer</javadoc>) shall wire the variables defined in zscript. | ||
+ | |||
+ | Some people reported wiring zscript variables cause some performance degrade if there are a lot of zscript code used in a page. You could specify this library variable as follows to turn it off. | ||
+ | |||
+ | <source lang="xml"> | ||
+ | <!-- in WEB-INF/zk.xml --> | ||
+ | <library-property> | ||
+ | <name>org.zkoss.zk.ui.composer.autowire.zscript</name> | ||
+ | <value>false</value> | ||
+ | </library-property> | ||
+ | </source> | ||
=Version History= | =Version History= | ||
Line 6: | Line 24: | ||
! Version !! Date !! Content | ! Version !! Date !! Content | ||
|- | |- | ||
− | | | + | | 5.0.6 |
− | | | + | | Feburary, 2011 |
− | | | + | | Introduced |
|} | |} | ||
{{ZKConfigurationReferencePageFooter}} | {{ZKConfigurationReferencePageFooter}} |
Revision as of 04:00, 8 February 2011
Property:
org.zkoss.zk.ui.composer.autowire.zscript
Default: true (it is default to false in 6.0) [since 5.0.6]
It specifies whether GenericAutowireComposer (and GenericForwardComposer) shall wire the variables defined in zscript.
Some people reported wiring zscript variables cause some performance degrade if there are a lot of zscript code used in a page. You could specify this library variable as follows to turn it off.
<!-- in WEB-INF/zk.xml -->
<library-property>
<name>org.zkoss.zk.ui.composer.autowire.zscript</name>
<value>false</value>
</library-property>
Version History
Version | Date | Content |
---|---|---|
5.0.6 | Feburary, 2011 | Introduced |