org.zkoss.zk.ui.macro.autowire.convention"

From Documentation
(Created page with "{{ZKConfigurationReferencePageHeader}} '''Property:''' org.zkoss.zk.ui.macro.autowire.convention Default: <i>false</i> [since 6.0.0] By default, the macro component will wi...")
 
m
Line 3: Line 3:
 
'''Property:'''
 
'''Property:'''
 
  org.zkoss.zk.ui.macro.autowire.convention
 
  org.zkoss.zk.ui.macro.autowire.convention
 +
 +
{{GlobalLibraryProperty}}
  
 
  Default: <i>false</i>
 
  Default: <i>false</i>

Revision as of 08:07, 7 July 2016


org.zkoss.zk.ui.macro.autowire.convention


Property:

org.zkoss.zk.ui.macro.autowire.convention
Applicable:
Dndsmalltalk-check-icon.png globally in zk.xml via <library-property>
Dndsmalltalk-cross-icon.png not as <custom-attribute>
Default: false
[since 6.0.0]

By default, the macro component will wire the UI components to the data member automatically based on CSS selectors, as described in ZK Developer's Reference: Wire Components.

If you prefer to wire by the name convention (as GenericAutowireComposer does), you can specify this library to true as follows. Notice that wiring-by-name-convention is the default approach taken by ZK 5.

<library-property>
	<name>org.zkoss.zk.ui.macro.autowire.convention</name>
    	<value>true</value>
</library-property>

Version History

Last Update : 2016/07/07


Version Date Content
6.0.0 February 2012 This library property was introduced.



Last Update : 2016/07/07

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